summaryrefslogtreecommitdiff
path: root/editor/plugins/particles_2d_editor_plugin.h
diff options
context:
space:
mode:
authorJFonS <joan.fonssanchez@gmail.com>2018-09-27 13:05:57 +0200
committerJFonS <joan.fonssanchez@gmail.com>2018-11-04 15:58:12 +0100
commit85ce4a67ed37a2b38bc6d9e3f0211a9b73a8516d (patch)
treeaf25828c7f277efd609ce78cc7d68b14493f824f /editor/plugins/particles_2d_editor_plugin.h
parentf84893f70901dfca356d949ea1585a56154cb59f (diff)
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
Remove animation loop from ParticlesMaterial and move it to SpatialMaterial for 3D particles and Particles2D for the 2D case. Added animation to CPUParticles2D as well as the "Convert to CPUParticles2D" to the PAarticles2D menu.
Diffstat (limited to 'editor/plugins/particles_2d_editor_plugin.h')
-rw-r--r--editor/plugins/particles_2d_editor_plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/particles_2d_editor_plugin.h b/editor/plugins/particles_2d_editor_plugin.h
index 71ca8ef499..eaa96d84e9 100644
--- a/editor/plugins/particles_2d_editor_plugin.h
+++ b/editor/plugins/particles_2d_editor_plugin.h
@@ -46,7 +46,8 @@ class Particles2DEditorPlugin : public EditorPlugin {
MENU_GENERATE_VISIBILITY_RECT,
MENU_LOAD_EMISSION_MASK,
- MENU_CLEAR_EMISSION_MASK
+ MENU_CLEAR_EMISSION_MASK,
+ MENU_OPTION_CONVERT_TO_CPU_PARTICLES
};
enum EmissionMode {