Closed rustylabs closed 1 year ago
This is not an engine issue, it should be done through the resize function on your own program.
But the size parameter in setting, yes it is an engine issue there.
@ElhamAryanpur
But the size parameter in setting, yes it is an engine issue there.
I thought it was already solved, anyways looking forward for the fix.
yes, because it won't be solved, just pushed changes to remove it entirely. All transformation options in ObjectSettings are now removed.
Please use the functions with the object to have those changes.
@ElhamAryanpur I see thanks.
inside
objects_settings.rs
:so this should set the size. The default is set to
1f32
,1f32
,1f32
.so I might set the
x
size to1.3
which sizes just fine. But after saving it and opening the file again while the value is at1.3
, it is back to the original size and when I move the slider, it will add to it. See the gif to see what is happening:also by hardcoding it and setting the size like this
size : (150f32, 100f32, 100f32),
still draws a perfect square as shown in this image:I have confirmed that my get_mut resize is not called until I modify the values