diff --git a/src/Mod/Assembly/App/ConstraintGroup.cpp b/src/Mod/Assembly/App/ConstraintGroup.cpp index b8f6db81a0..3c79eae421 100644 --- a/src/Mod/Assembly/App/ConstraintGroup.cpp +++ b/src/Mod/Assembly/App/ConstraintGroup.cpp @@ -68,7 +68,6 @@ short ConstraintGroup::mustExecute() const App::DocumentObjectExecReturn *ConstraintGroup::execute(void) { - Base::Console().Message("Recalculate constraint group\n"); touch(); return App::DocumentObject::StdReturn; } diff --git a/src/Mod/Assembly/App/ItemAssembly.cpp b/src/Mod/Assembly/App/ItemAssembly.cpp index 960828f600..c1ff95d237 100644 --- a/src/Mod/Assembly/App/ItemAssembly.cpp +++ b/src/Mod/Assembly/App/ItemAssembly.cpp @@ -54,8 +54,7 @@ short ItemAssembly::mustExecute() const { } App::DocumentObjectExecReturn* ItemAssembly::execute(void) { - Base::Console().Message("Execute ItemAssembly\n"); - + try { //create a solver and init all child assemblys with subsolvers m_solver = boost::shared_ptr(new Solver); diff --git a/src/Mod/Assembly/App/ItemPart.cpp b/src/Mod/Assembly/App/ItemPart.cpp index f594ea9314..097b9dd2e2 100644 --- a/src/Mod/Assembly/App/ItemPart.cpp +++ b/src/Mod/Assembly/App/ItemPart.cpp @@ -65,8 +65,7 @@ short ItemPart::mustExecute() const App::DocumentObjectExecReturn *ItemPart::execute(void) { - Base::Console().Message("Recalculate ItemPart\n"); - this->touch(); + this->touch(); return App::DocumentObject::StdReturn; } @@ -102,9 +101,7 @@ bool ItemPart::holdsObject(App::DocumentObject* obj) const { void ItemPart::setCalculatedPlacement(boost::shared_ptr< Part3D > part) { - //part is the same as m_part, so it doasn't matter which one we use - Base::Console().Message("Set new calculated part placement\n"); - + //part is the same as m_part, so it doasn't matter which one we use Base::Placement p = dcm::get(part); Placement.setValue(p); } @@ -120,7 +117,6 @@ boost::shared_ptr< Geometry3D > ItemPart::getGeometry3D(const char* Type) boost::shared_ptr geometry; if(m_part->hasGeometry3D(Type)) { return m_part->getGeometry3D(Type); - //Base::Console().Message("Already has geometry, nothing added\n"); } else { Part::TopoShape ts; App::DocumentObject* obj = Model.getValue(); @@ -134,10 +130,8 @@ boost::shared_ptr< Geometry3D > ItemPart::getGeometry3D(const char* Type) if(s.ShapeType() == TopAbs_FACE) { TopoDS_Face face = TopoDS::Face(s); BRepAdaptor_Surface surface(face); - //Base::Console().Message("Fase selected\n"); switch(surface.GetType()) { case GeomAbs_Plane: { - //Base::Console().Message("plane selected\n"); gp_Pln plane = surface.Plane(); if(face.Orientation()==TopAbs_REVERSED) { gp_Dir dir = plane.Axis().Direction(); @@ -147,7 +141,6 @@ boost::shared_ptr< Geometry3D > ItemPart::getGeometry3D(const char* Type) break; } case GeomAbs_Cylinder: { - //Base::Console().Message("cylinder selected\n"); gp_Cylinder cyl = surface.Cylinder(); geometry = m_part->addGeometry3D(cyl, Type, dcm::Local); break; @@ -181,11 +174,11 @@ boost::shared_ptr< Geometry3D > ItemPart::getGeometry3D(const char* Type) return boost::shared_ptr< Geometry3D >(); } }; - +/* std::stringstream s; s<m_global; Base::Console().Message("Added geom: %s, %s\n", Type, s.str().c_str()); - +*/ return geometry; } diff --git a/src/Mod/Assembly/Gui/ViewProviderConstraint.cpp b/src/Mod/Assembly/Gui/ViewProviderConstraint.cpp index f52b9d40fc..b26e2cc55c 100644 --- a/src/Mod/Assembly/Gui/ViewProviderConstraint.cpp +++ b/src/Mod/Assembly/Gui/ViewProviderConstraint.cpp @@ -172,8 +172,6 @@ void ViewProviderConstraint::attach(App::DocumentObject* pcFeat) void ViewProviderConstraint::updateData(const App::Property* prop) { - Base::Console().Message("update: %s\n", prop->getName()); - if(Visibility.getValue() && m_selected) { draw(); @@ -185,9 +183,6 @@ void ViewProviderConstraint::updateData(const App::Property* prop) void ViewProviderConstraint::onChanged(const App::Property* prop) { - - Base::Console().Message("changed: %s, selected: %i\n", prop->getName(), m_selected); - // parent expects the app object to be part::feature, but it isn't. so we have to avoid // the visability prop as this results in accessing of the part::feature and would crash if(prop == &Visibility) {