]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkBoxWidget_tool.cxx
#3525 Python descrition
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkBoxWidget_tool.cxx
index eb3be709d485b82088ba4fd058c2a096cc463d75..78e630ab7d7bf41fee50ee871c7e1944600ce968 100644 (file)
@@ -29,10 +29,13 @@ void BoxWidget_tool::Process()
 //    bbSetOutputOut( bbGetInputIn() );
 //    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
  
-    if ( (bbGetInputBox_BoxWidget()!=NULL) && (bbGetInputTransform()!=NULL) )
+    if (bbGetInputType()==1) 
     {
-        bbGetInputBox_BoxWidget()->SetTransform( bbGetInputTransform() );
-    } // _BoxWidget
+        if ( (bbGetInputBox_BoxWidget()!=NULL) && (bbGetInputTransform()!=NULL) )
+        {
+            bbGetInputBox_BoxWidget()->SetTransform( bbGetInputTransform() );
+        } // _BoxWidget
+    } // if Type
 }
 
 //=====