]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0052661: VTK3D Viewer: GEOM_Actor in the Wireframe mode has incorrect color
authorimn <imn@opencascade.com>
Mon, 13 Apr 2015 07:56:26 +0000 (10:56 +0300)
committerimn <imn@opencascade.com>
Mon, 13 Apr 2015 07:56:26 +0000 (10:56 +0300)
src/OBJECT/GEOM_Actor.cxx

index 306d146e04c7070319a4aac85816c4a6ae37b99b..bf9d136da5e8292ba24aea5a3ec0cd77c0ad34a5 100644 (file)
@@ -338,9 +338,9 @@ setDisplayMode(int theMode)
     myIsolatedEdgeActor->GetProperty()->SetColor(myIsolatedEdgeColor[0],
                                                  myIsolatedEdgeColor[1],
                                                  myIsolatedEdgeColor[2]);
-    mySharedEdgeActor->GetProperty()->SetColor(myIsolatedEdgeColor[0],
-                                               myIsolatedEdgeColor[1],
-                                               myIsolatedEdgeColor[2]);
+    mySharedEdgeActor->GetProperty()->SetColor(mySharedEdgeColor[0],
+                                               mySharedEdgeColor[1],
+                                               mySharedEdgeColor[2]);
     myOneFaceEdgeActor->GetProperty()->SetColor(myOneFaceEdgeColor[0],
                                                myOneFaceEdgeColor[1],
                                                myOneFaceEdgeColor[2]);