Draft: fixed bug when loading objects with pattern set
This commit is contained in:
parent
bbfacbc883
commit
353b2df3d3
|
@ -3216,7 +3216,7 @@ class _ViewProviderDraft:
|
|||
|
||||
def onChanged(self, vobj, prop):
|
||||
# treatment of patterns and image textures
|
||||
if prop in ["TextureImage","Pattern"]:
|
||||
if prop in ["TextureImage","Pattern","DiffuseColor"]:
|
||||
if hasattr(self.Object,"Shape"):
|
||||
if self.Object.Shape.Faces:
|
||||
from pivy import coin
|
||||
|
|
Loading…
Reference in New Issue
Block a user