Salome HOME
updated copyright message
[modules/shaper.git] / src / PartSet / PartSet_CustomPrs.cpp
index fc0fb74d4e1088e4f02c78698dbe5de81a8d95aa..c38e89494867b6eaa6ba468fe6ea55c0558e24b0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -171,6 +171,9 @@ bool PartSet_CustomPrs::displayPresentation(
       isModified = true;
     }
     else {
+      if (myFeature->firstResult().get()) {
+        PartSet_Module::setTexture(aPresentation, myFeature->firstResult());
+      }
       anOperationPrs->Redisplay();
       isModified = true;
       aRedisplayed = true;