Salome HOME
import image: add texture to transformations
[modules/shaper.git] / src / PartSet / PartSet_CustomPrs.cpp
index fc0fb74d4e1088e4f02c78698dbe5de81a8d95aa..e425d6a6be8cbed60aa64d81cda7440731a8fa0d 100644 (file)
@@ -171,6 +171,10 @@ bool PartSet_CustomPrs::displayPresentation(
       isModified = true;
     }
     else {
+      if (myFeature->firstResult().get() && myFeature->firstResult()->hasTextureFile())
+      {
+        PartSet_Module::setTexture( myFeature->firstResult()->getTextureFile(), aPresentation);
+      }
       anOperationPrs->Redisplay();
       isModified = true;
       aRedisplayed = true;