diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-19 06:26:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-19 06:27:08 +0300 |
commit | 15bf81268cd4dfa48c1cf72d504a226943ac6e88 (patch) | |
tree | 9c5d3542fe5894e42d63cf4483668b7ef831734b | |
parent | 1afa97d5479dbb5cea8a85c85ad1f1250c80ddf0 (diff) |
Fix switching to particle edit-mode from editmode
Similar to T76859
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index 75ae0299318..c60f3c37640 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -5247,9 +5247,6 @@ static bool particle_edit_toggle_poll(bContext *C) if (!ob->data || ID_IS_LINKED(ob->data)) { return 0; } - if (CTX_data_edit_object(C)) { - return 0; - } return (ob->particlesystem.first || modifiers_findByType(ob, eModifierType_Cloth) || modifiers_findByType(ob, eModifierType_Softbody)); |