]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget_Base.cxx
#3527 Deformation Undo-Redo fixes
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPlaneWidget_Base.cxx
index 79f86395404a3561dff4458c5785dfbbbeacb365..cbc406fde2965d1acd56b9d524c01857b73c42d7 100644 (file)
@@ -41,6 +41,18 @@ void PlaneWidget_Base::Process()
         bbGetInputIn()->Process();
         bbGetInputIn()->Execute();
     } // if Type == 1
+    if((bbGetInputType()==2)  &&  (bbGetInputIn()!=NULL) &&  (bbGetInputParamVector().size() == 3))
+    {
+       bbGetInputIn()->SetNormalIn(bbGetInputParamVector());
+       bbGetInputIn()->Process();
+        bbGetInputIn()->Execute();
+    } // if Type == 2
+    if((bbGetInputType()==3)  &&  (bbGetInputIn()!=NULL) && (bbGetInputParamVector().size() == 3))
+    {
+       bbGetInputIn()->SetOrigin(bbGetInputParamVector());
+       bbGetInputIn()->Process();
+        bbGetInputIn()->Execute();
+    } // if Type == 3
 }
 
 //=====