From bb61af7b427e59636acb4eb96ed073b7aa0927c1 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Thu, 19 Aug 2010 21:11:48 +0000 Subject: == Ptex == Brought back ptex resolution editing Improvements: * For nonquads, subfaces can now be directly selected, so there's no need to display multiple resolutions for triangles * Display and selection use the same pbvh as for painting, so for example subsurf shows correctly --- source/blender/editors/space_view3d/view3d_header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_view3d/view3d_header.c') diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c index aa7e0e51cae..8dfed23d9f9 100644 --- a/source/blender/editors/space_view3d/view3d_header.c +++ b/source/blender/editors/space_view3d/view3d_header.c @@ -473,7 +473,7 @@ void uiTemplateHeader3D(uiLayout *layout, struct bContext *C) PointerRNA meshptr; RNA_pointer_create(&ob->id, &RNA_Mesh, ob->data, &meshptr); - uiItemR(layout, &meshptr, "use_paint_mask", UI_ITEM_R_ICON_ONLY, "", 0); + uiItemR(layout, &meshptr, "ptex_edit_mode", UI_ITEM_R_ICON_ONLY, "", 0); } else { char *str_menu; -- cgit v1.2.3