Fix T45469: Vertex Group weight = 0.0 in scene 2.

This commit is contained in:
Bastien Montagne 2015-07-17 18:49:58 +02:00
parent 20de6f01ed
commit c1290e441e
Notes: blender-bot 2023-02-14 11:35:46 +01:00
Referenced by issue #45469, Vertex Group weight = 0.0 in scene 2
1 changed files with 1 additions and 0 deletions

View 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;