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:
authorDaniel Genrich <daniel.genrich@gmx.net>2013-05-02 14:21:39 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2013-05-02 14:21:39 +0400
commit396222bd01fc0786413d405679b94151eba485b2 (patch)
tree115886ec9d80a555021cd95c2fbe817be262095b /source/blender/makesrna/intern/rna_modifier.c
parent0cd35ada0de5dcb93a27ac6fe98a7640e74464ac (diff)
Fix [#35173] Object's draw_type resets when removing smoke
New behaviour: * On creation, smoke modifier only changes the drawtype for domain to WIRE. * On deletion, smoke modifier does not change the drawtype.
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r--source/blender/makesrna/intern/rna_modifier.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 29eb967e3ce..3cf1e0c3b20 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -294,7 +294,6 @@ static void rna_Smoke_set_type(Main *bmain, Scene *scene, PointerRNA *ptr)
case MOD_SMOKE_TYPE_COLL:
case 0:
default:
- ob->dt = OB_TEXTURE;
break;
}