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:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-05-22 19:29:27 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-05-22 19:29:27 +0400
commit417ac6932095f83750b4065bce9a58812023295e (patch)
tree2623241b65b7540d2bce649111d25577dd47cbdf /source/blender/editors/space_view3d/view3d_draw.c
parent6485b32909e8e9d89891ac3808099425148514dc (diff)
Draw skin vertex roots in edit mode.
Roots are drawn with a view-oriented dashed red circle around the vertex location. The circle's radius is the average if the skin vertex's X and Y radii. Skin modifier documentation: http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index 0c6e13051bb..bec07d81b84 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -2335,6 +2335,9 @@ CustomDataMask ED_view3d_object_datamask(Scene *scene)
if (ob->mode & OB_MODE_WEIGHT_PAINT) {
mask |= CD_MASK_PREVIEW_MCOL;
}
+
+ if (ob->mode & OB_MODE_EDIT)
+ mask |= CD_MASK_MVERT_SKIN;
}
return mask;