Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-05-19 06:26:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-19 06:27:08 +0300
commit15bf81268cd4dfa48c1cf72d504a226943ac6e88 (patch)
tree9c5d3542fe5894e42d63cf4483668b7ef831734b /source/blender/editors/physics/particle_edit.c
parent1afa97d5479dbb5cea8a85c85ad1f1250c80ddf0 (diff)
Fix switching to particle edit-mode from editmode
Similar to T76859
Diffstat (limited to 'source/blender/editors/physics/particle_edit.c')
-rw-r--r--source/blender/editors/physics/particle_edit.c3
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));