You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Visibility rect only shown when a GPUParticle2D is selected to reduce visual clutter in scenes with a lot of Particle nodes.
This commit is contained in:
@@ -56,6 +56,7 @@ class GPUParticles2DEditorPlugin : public EditorPlugin {
|
||||
};
|
||||
|
||||
GPUParticles2D *particles;
|
||||
List<GPUParticles2D *> selected_particles;
|
||||
|
||||
EditorFileDialog *file;
|
||||
EditorNode *editor;
|
||||
@@ -79,6 +80,7 @@ class GPUParticles2DEditorPlugin : public EditorPlugin {
|
||||
void _menu_callback(int p_idx);
|
||||
void _generate_visibility_rect();
|
||||
void _generate_emission_mask();
|
||||
void _selection_changed();
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
|
||||
Reference in New Issue
Block a user