godot/scene
Hristo Stamenov 3ec927cfef Setting the visible multimesh instance to -1 so that they are updated correctly on set_amount.
When emitting stops CPUParticles3D::_set_redraw(bool p_redraw) will set that value to 0 so when you change the amount after that it will actually not update correclty.

This fixes an issue where if it was not emitting when the scene loaded and it start after that the amount is not reflected correclty. This also happened when you checked out the box for emitting in the editor, changed the value of amount and then checked on the box for emitting. With this change if it is emitting during the change it does interrupt the previous particles when you change. The amount and the emit starts from beginning but that is to be expected on an amount of particles change.
2021-10-24 22:04:30 +03:00
..
2d Merge pull request #54120 from zaevi/fix_null-ref_crashes 2021-10-23 19:00:12 +02:00
3d Setting the visible multimesh instance to -1 so that they are updated correctly on set_amount. 2021-10-24 22:04:30 +03:00
animation Remove unimplemented methods 2021-10-21 18:44:25 +01:00
audio Allow AudioStreamPlayer(2D) to provide `pitch_scale` on playback 2021-10-10 18:52:29 -03:00
debugger Use range iterators for `Map` 2021-09-30 15:09:12 -06:00
gui Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warning 2021-10-23 19:13:34 +02:00
main Merge pull request #54088 from madmiraal/remove-unimplemented-methods 2021-10-22 12:59:32 +02:00
resources Fixed animation insertion in SkeletonEditor 2021-10-23 16:50:00 +09:00
SCsub Disable Node3D when compiling without 3D and fix disable_3d option 2021-08-13 08:59:48 -05:00
register_scene_types.cpp Rename `Tabs` to `TabBar` 2021-10-19 11:37:31 -03:00
register_scene_types.h
scene_string_names.cpp Merge pull request #45699 from TokageItLab/implement-skeleton-editor-gizmo 2021-10-06 21:11:20 +02:00
scene_string_names.h Merge pull request #45699 from TokageItLab/implement-skeleton-editor-gizmo 2021-10-06 21:11:20 +02:00