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>2019-03-06 16:17:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-06 16:17:54 +0300
commit38673621a44cc8f321aee7dc7ec203adb65e0029 (patch)
tree763feb37da00c8ade880f46a618f47cc1a76a355 /source/blender/editors/physics
parent92094c76a949fb9ad9f85ea09aa1f518b402a916 (diff)
Missed last commit
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r--source/blender/editors/physics/particle_edit.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index a3173136783..0c08fc6fb29 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -2915,10 +2915,6 @@ static void brush_drawcursor(bContext *C, int x, int y, void *UNUSED(customdata)
ParticleEditSettings *pset = PE_settings(scene);
ParticleBrushData *brush;
- if (pset->brushtype < 0) {
- return;
- }
-
if (!WM_toolsystem_active_tool_is_brush(C)) {
return;
}
@@ -4082,16 +4078,11 @@ static int brush_edit_init(bContext *C, wmOperator *op)
Scene *scene = CTX_data_scene(C);
ViewLayer *view_layer = CTX_data_view_layer(C);
Object *ob = CTX_data_active_object(C);
- ParticleEditSettings *pset = PE_settings(scene);
PTCacheEdit *edit = PE_get_current(scene, ob);
ARegion *ar = CTX_wm_region(C);
BrushEdit *bedit;
float min[3], max[3];
- if (pset->brushtype < 0) {
- return 0;
- }
-
if (!WM_toolsystem_active_tool_is_brush(C)) {
return 0;
}