X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_CustomPrs.cpp;h=e425d6a6be8cbed60aa64d81cda7440731a8fa0d;hb=4462c8acab55ab702986f63117666aa6dea3aa3c;hp=fc0fb74d4e1088e4f02c78698dbe5de81a8d95aa;hpb=156b5b941ca6025c1567079604972fb69c568f82;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_CustomPrs.cpp b/src/PartSet/PartSet_CustomPrs.cpp index fc0fb74d4..e425d6a6b 100644 --- a/src/PartSet/PartSet_CustomPrs.cpp +++ b/src/PartSet/PartSet_CustomPrs.cpp @@ -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;