Welcome to WSL!

New to the forum? Please read this and this.

SkinCorrector  [SUBMITTED]

Moderator: SecondMan

User avatar
SecondMan
Site Admin
Posts: 4828
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 31
Location: Vancouver, Canada
Been thanked: 39 times
Contact:

Re: SkinCorrector

#16

Post by SecondMan »

That's ideal, yes please.

User avatar
Millolab
Fusionista
Posts: 792
Joined: Wed Oct 24, 2018 6:26 am
Answers: 4
Been thanked: 23 times
Contact:

Re: SkinCorrector

#17

Post by Millolab »

On its way! :)

Added in 8 minutes 5 seconds:
Image

Here!
:D :D :D :D
com.Millolab.SkinCorrector.zip
You do not have the required permissions to view the files attached to this post.

User avatar
Midgardsormr
Fusionator
Posts: 2099
Joined: Wed Nov 26, 2014 8:04 pm
Answers: 24
Location: Los Angeles, CA, USA
Been thanked: 22 times
Contact:

Re: SkinCorrector

#18

Post by Midgardsormr »

SecondMan wrote: Thu Dec 05, 2019 11:27 pm
bmd._VERSION returns a string, so you will have to do some formatting for it to work as a number, like splitting it at the first dot (.) or something.
That's odd. It's a number when I use it.

Image

User avatar
SecondMan
Site Admin
Posts: 4828
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 31
Location: Vancouver, Canada
Been thanked: 39 times
Contact:

Re: SkinCorrector

#19

Post by SecondMan »

Ah, but that's by accident only. Lua will auto-convert strings to numbers, but only when it is able. In your case this works, because "15.0" is unambiguous, same for "9.02". However, if there would be a - completely hypothetical of course - version of Fusion that returns "16.1.1" for bmd_.VERSION, that will fail.

You can test this easily:

Code: Select all

"15.0"+2
works as an expression, but

Code: Select all

"16.1.1"+2
does not.

User avatar
SecondMan
Site Admin
Posts: 4828
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 31
Location: Vancouver, Canada
Been thanked: 39 times
Contact:

Re: SkinCorrector

#20

Post by SecondMan »

This is available on Reactor now, by the way! :cheer:

User avatar
Midgardsormr
Fusionator
Posts: 2099
Joined: Wed Nov 26, 2014 8:04 pm
Answers: 24
Location: Los Angeles, CA, USA
Been thanked: 22 times
Contact:

Re: SkinCorrector

#21

Post by Midgardsormr »

Ooooohh. I did not know that.

User avatar
Millolab
Fusionista
Posts: 792
Joined: Wed Oct 24, 2018 6:26 am
Answers: 4
Been thanked: 23 times
Contact:

Re: SkinCorrector

#22

Post by Millolab »

Here version 4 of my skin corrector macro!
and a Tutorial about how to use it.



com.Millolab.SkinCorrector.zip
You do not have the required permissions to view the files attached to this post.

User avatar
SecondMan
Site Admin
Posts: 4828
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 31
Location: Vancouver, Canada
Been thanked: 39 times
Contact:

Re: SkinCorrector

#23

Post by SecondMan »

4th time's a charm! :D

Submitted :cheer:

User avatar
Millolab
Fusionista
Posts: 792
Joined: Wed Oct 24, 2018 6:26 am
Answers: 4
Been thanked: 23 times
Contact:

Re: SkinCorrector  [SUBMITTED]

#24

Post by Millolab »

com.Millolab.SkinCorrector.zip
And here version 5!
Some optimization has been made!

Cheers!!!
You do not have the required permissions to view the files attached to this post.

User avatar
SecondMan
Site Admin
Posts: 4828
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 31
Location: Vancouver, Canada
Been thanked: 39 times
Contact:

Re: SkinCorrector

#25

Post by SecondMan »

Version 5 is available in Reactor now thank you very much :cheer: