Fix build problems with ImportGui module, fix bug in Draft when using texture image

This commit is contained in:
wmayer
2012-10-05 12:19:07 +02:00
parent bbd8450894
commit db08d87e99
3 changed files with 15 additions and 6 deletions

View File

@@ -2402,6 +2402,7 @@ class _ViewProviderRectangle(_ViewProviderDraft):
self.Object = vobj.Object
def onChanged(self, vp, prop):
from pivy import coin
if prop == "TextureImage":
r = vp.RootNode
if os.path.exists(vp.TextureImage):