Commit: e2f8970d50d0f11c1dca828a3a348e9478709da3
Author: Nathan Vollmer
Date: Tue May 24 16:23:32 2016 -0600
Branches: soc-2016-pbvh-painting
https://developer.blender.org/rBe2f8970d50d0f11c1dca828a3a348e9478709da3
Changed PBVH material to match sculpt mode.
===================================================================
M source/blender/editors/space_view3d/drawmesh.c
===================================================================
diff --git a/source/blender/editors/space_view3d/drawmesh.c
b/source/blender/editors/space_view3d/drawmesh.c
index 55e0d37..88f51a8 100644
--- a/source/blender/editors/space_view3d/drawmesh.c
+++ b/source/blender/editors/space_view3d/drawmesh.c
@@ -1377,7 +1377,7 @@ void draw_mesh_paint(View3D *v3d, RegionView3D *rv3d,
float(*face_nors)[3] =
CustomData_get_layer(&dm->polyData, CD_NORMAL);
BKE_pbvh_draw(ob->sculpt->pbvh, NULL, face_nors,
- GPU_object_material_bind, false, false);
+ GPU_object_material_visible, false,
false);
glShadeModel(GL_FLAT);
}
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs