Fix T45469: Vertex Group weight = 0.0 in scene 2.
authorBastien Montagne <montagne29@wanadoo.fr>
Fri, 17 Jul 2015 16:49:58 +0000 (18:49 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 17 Jul 2015 16:49:58 +0000 (18:49 +0200)
source/blender/blenkernel/intern/scene.c

index 28c94c889a25a08e13be25c32e457cfb5b42f270..8f3a99cc05134ed65ed7053ef962645dd29136d6 100644 (file)
@@ -564,6 +564,7 @@ Scene *BKE_scene_add(Main *bmain, const char *name)
 
        sce->toolsettings = MEM_callocN(sizeof(struct ToolSettings), "Tool Settings Struct");
        sce->toolsettings->doublimit = 0.001;
+       sce->toolsettings->vgroup_weight = 1.0f;
        sce->toolsettings->uvcalc_margin = 0.001f;
        sce->toolsettings->unwrapper = 1;
        sce->toolsettings->select_thresh = 0.01f;