Revision: 40190
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40190
Author: jason_hays22
Date: 2011-09-13 20:28:43 +0000 (Tue, 13 Sep 2011)
Log Message:
-----------
Re-added the interface template for vertex groups' checkboxes (they were cut
out in a merge conflict)
Modified Paths:
--------------
branches/soc-2011-radish/source/blender/editors/interface/interface_templates.c
Modified:
branches/soc-2011-radish/source/blender/editors/interface/interface_templates.c
===================================================================
---
branches/soc-2011-radish/source/blender/editors/interface/interface_templates.c
2011-09-13 19:51:58 UTC (rev 40189)
+++
branches/soc-2011-radish/source/blender/editors/interface/interface_templates.c
2011-09-13 20:28:43 UTC (rev 40190)
@@ -2124,6 +2124,12 @@
//uiItemR(row, itemptr, "mute", 0, "", ICON_MUTE_IPO_OFF);
uiBlockSetEmboss(block, UI_EMBOSS);
}
+ /* Jason was here: I need the RNA struct for vertex groups */
+ else if(RNA_struct_is_a(itemptr->type, &RNA_VertexGroup)) {
+ uiItemL(sub, name, icon);
+ uiBlockSetEmboss(block, UI_EMBOSS);
+ uiDefButR(block, OPTION, 0, "", 0, 0, UI_UNIT_X, UI_UNIT_Y,
itemptr, "flag", 0, 0, 0, 0, 0, NULL);
+ }
else if(itemptr->type == &RNA_KeyingSetPath) {
KS_Path *ksp = (KS_Path*)itemptr->data;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs