AutoScaling Fixes for non-DVP objects
This commit is contained in:
committed by
Yorik van Havre
parent
200ed7a675
commit
a79d672bbd
@@ -153,6 +153,9 @@
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>999</number>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>1</number>
|
||||
</property>
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user