Move ParticlesMaterial code to its own resource file
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense to have as a common resource. It also allowed to disable compilation of Particles (3D) when using 'disable_3d'. Also cleaned up includes in SpatialEditorGizmos and some other places, as well as dropped dead code in material_editor_plugin.cpp.
This commit is contained in:
1245
scene/resources/particles_material.cpp
Normal file
1245
scene/resources/particles_material.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user