Commit: a281ef6a980220fa90fb566dea5ed761b5b486e5 Author: Sebastián Barschkis Date: Sun Jun 11 13:58:47 2017 +0200 Branches: fluid-mantaflow https://developer.blender.org/rBa281ef6a980220fa90fb566dea5ed761b5b486e5
automatically set domain mesh draw type for particles and mesh mode for particles it is more convenient to have a wire frame, for meshes the solid mode is better =================================================================== M source/blender/makesrna/intern/rna_smoke.c =================================================================== diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c index e220895c489..d60f340388c 100644 --- a/source/blender/makesrna/intern/rna_smoke.c +++ b/source/blender/makesrna/intern/rna_smoke.c @@ -116,6 +116,8 @@ static void rna_Smoke_update_file_format(Main *bmain, Scene *scene, PointerRNA * BLI_addtail(&ob->modifiers, psmd); modifier_unique_name(&ob->modifiers, (ModifierData *)psmd); } + /* wire mode more convenient for particles */ + ob->dt = OB_WIRE; } else { for (psys = ob->particlesystem.first; psys; psys = next_psys) { @@ -131,6 +133,8 @@ static void rna_Smoke_update_file_format(Main *bmain, Scene *scene, PointerRNA * psys_free(ob, psys); } } + /* solid mode more convenient for meshes */ + ob->dt = OB_SOLID; } rna_Smoke_resetCache(bmain, scene, ptr); } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs