You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ParticlesMaterial turbulence properties are missing default values (except for turbulence_active). This means the revert button doesn't appear after changing the value in the inspector.
Steps to reproduce
Note: This must be done in a build from any commit after 9137ba7 (#55387).
Create a ParticlesMaterial
Open the "Turbulence" section
Change some properties
The revert button does not appear
...
Open the ParticlesMaterial documentation page
Navigate to the turbulence_* properties
See that there are no default values listed, except for turbulence_active
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered:
I looked into it and the problem is that the properties are hidden when the turbulence is not active (And this is the default).
You can observe the same behaviour in the emission shape properties (changing the emission shape to e.g. sphere).
It seems that default values will only be picked up for properties that are not set to PROPERTY_USAGE_NONE at time of compilation. Eventually it would make sense to change this problem at the root? I would like to hear what the more experienced contributors think about this.
EDIT: By looking into other source files I found that the usage of PROPERTY_USAGE_NO_EDITOR is the correct way of handling this. Fixed by #63815
Godot version
v4.0.alpha.custom_build [98c1fb396]
System information
Windows 10
Issue description
The ParticlesMaterial turbulence properties are missing default values (except for
turbulence_active
). This means the revert button doesn't appear after changing the value in the inspector.Steps to reproduce
Note: This must be done in a build from any commit after 9137ba7 (#55387).
...
turbulence_*
propertiesturbulence_active
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: