Change links to Global scope

This commit is contained in:
WandererFan
2017-09-21 18:03:52 -04:00
committed by Yorik van Havre
parent f3758bed5b
commit 6b922acdd5
10 changed files with 20 additions and 25 deletions

View File

@@ -81,6 +81,7 @@ DrawViewMulti::DrawViewMulti()
//Source is replaced by Sources in Multi
Source.setStatus(App::Property::ReadOnly,true);
Source.setStatus(App::Property::Hidden,true);
geometryObject = nullptr;
}
@@ -152,7 +153,7 @@ App::DocumentObjectExecReturn *DrawViewMulti::execute(void)
const std::vector<App::DocumentObject*>& links = Sources.getValues();
if (links.empty()) {
Base::Console().Log("INFO - DVM::execute - No Sources - creation?\n");
return DrawViewPart::execute();
return DrawView::execute();
}
m_compound = TopoDS::Compound(getSourceShape());