AutoScaling Fixes for non-DVP objects

This commit is contained in:
WandererFan
2016-10-27 10:13:23 -04:00
committed by Yorik van Havre
parent 200ed7a675
commit a79d672bbd
7 changed files with 53 additions and 24 deletions

View File

@@ -29,7 +29,6 @@
# include <QMenu>
#endif
/// Here the FreeCAD includes sorted by Base,App,Gui......
#include <Base/Console.h>
#include <Base/Parameter.h>
@@ -110,7 +109,6 @@ void ViewProviderProjGroup::updateData(const App::Property* prop)
void ViewProviderProjGroup::onChanged(const App::Property *prop)
{
Base::Console().Message("TRACE - VPPG::onChanged(%s) \n",prop->getName());
if (prop == &(getViewObject()->Scale)) {
if (getViewObject()->ScaleType.isValue("Automatic")) {
getMDIViewPage()->redraw1View(getViewObject());