[Bf-blender-cvs] [15bf81268cd] blender-v2.83-release: Fix switching to particle edit-mode from editmode
Campbell Barton
noreply at git.blender.org
Tue May 19 05:28:12 CEST 2020
Commit: 15bf81268cd4dfa48c1cf72d504a226943ac6e88
Author: Campbell Barton
Date: Tue May 19 13:26:21 2020 +1000
Branches: blender-v2.83-release
https://developer.blender.org/rB15bf81268cd4dfa48c1cf72d504a226943ac6e88
Fix switching to particle edit-mode from editmode
Similar to T76859
===================================================================
M source/blender/editors/physics/particle_edit.c
===================================================================
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));
More information about the Bf-blender-cvs
mailing list