]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_previewactioninterface.cpp
Fixed preview rendering for ActionDrawLine...
[architektonas] / src / base / rs_previewactioninterface.cpp
index 1f59867c121052e5ae06ff65d95ce5b1952c8cbb..d8431525c1ce7670acb1f6bda46fdbbaaa6f8980 100644 (file)
@@ -109,7 +109,9 @@ void RS_PreviewActionInterface::deletePreview()
  */
 void RS_PreviewActionInterface::xorPreview()
 {
-#warning "!!! xorPreview() not working AT ALL !!!"
+#warning "!!! RS_PreviewActionInterface::xorPreview() is DEPRECATED !!!"
+//not true anymore..
+//#warning "!!! xorPreview() not working AT ALL !!!"
 #if 0
        if (!preview->isEmpty())
        {
@@ -132,7 +134,6 @@ void RS_PreviewActionInterface::xorPreview()
 //This doesn't work, causes the thing to crash...
 //Now it works, just need to upgrade the rendering paths so that they aren't all
 //fucked up like QCad was...
-#if 1
        if (!preview->isEmpty())
        {
                graphicView->SetPreviewMode();
@@ -143,5 +144,4 @@ void RS_PreviewActionInterface::xorPreview()
 
        visible = !visible;
 #endif
-#endif
 }