diff --git a/src/App/PropertyFile.cpp b/src/App/PropertyFile.cpp index e898d03eb..70b0f7eda 100644 --- a/src/App/PropertyFile.cpp +++ b/src/App/PropertyFile.cpp @@ -84,7 +84,7 @@ std::string PropertyFileIncluded::getExchangeTempFile(void) const void PropertyFileIncluded::setValue(const char* sFile, const char* sName) { - if (sFile) { + if (sFile && sFile[0] != '\0') { if (_cValue == sFile) throw Base::Exception("Not possible to set the same file!"); diff --git a/src/Gui/Language/FreeCAD_de.ts b/src/Gui/Language/FreeCAD_de.ts index ce82ee21f..1e7c1bf45 100644 --- a/src/Gui/Language/FreeCAD_de.ts +++ b/src/Gui/Language/FreeCAD_de.ts @@ -3635,7 +3635,7 @@ Wollen Sie fortfahren? Finish - Beenden + Fertig Clear diff --git a/src/Gui/View3DPy.cpp b/src/Gui/View3DPy.cpp index a1fee008d..b45c05247 100644 --- a/src/Gui/View3DPy.cpp +++ b/src/Gui/View3DPy.cpp @@ -389,10 +389,10 @@ Py::Object View3DInventorPy::viewAxometric(const Py::Tuple& args) //p1=App.Rotation(App.Vector(1,0,0),90) //p2=App.Rotation(App.Vector(0,0,1),45) //p3=App.Rotation(App.Vector(1,1,0),45) - //p3=App.Rotation(App.Vector(1,1,0),degrees(asin(sqrt(1.0/3.0)))) + //p3=App.Rotation(App.Vector(1,1,0),degrees(asin(-sqrt(1.0/3.0)))) //p4=p3.multiply(p2).multiply(p1) _view->getViewer()->setCameraOrientation(SbRotation - (0.820473f, 0.339851f, 0.17592f, 0.424708f)); + (0.424708f, 0.17592f, 0.339851f, 0.820473f)); } catch (const Base::Exception& e) { throw Py::Exception(e.what());