Blender Git Loki

Git Commits -> Revision 000312a

Revision 000312a by Sergey Sharybin (master)
November 19, 2013, 11:19 (GMT)
Remove Surface modifier when removing force field from object

Summary:
Before this adding Surface type of force field and removing
this field would leave Surface modifier alive in the stack.

This might be really misleading and annoying.

Now removing force field will ensure no modifiers needed for
it are remained in the stack.

This also fixes missing notifier to redraw modifier stack
when changing force field type.

Reviewers: brecht, campbellbarton

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D13

Commit Details:

Full Hash: 000312ab515b77f00725a91b235685ff0c774e57
Parent Commit: c566e40
Lines Changed: +25, -18

5 Modified Paths:

/source/blender/editors/include/ED_object.h (+2, -0) (Diff)
/source/blender/editors/object/object_edit.c (+20, -1) (Diff)
/source/blender/editors/object/object_modifier.c (+0, -3) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+2, -14) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021