mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0029674: Improvements in Inspector tool
- preferences for dock windows geometry, tree view columns and current view projection; - ViewControl package for common functionality between plugins; - processing Location and Orientation for external TopoDS_Shape object - 'F5' key to update content of each plugin - visibility column in tree view (used now only in ShapeView) - properties child item for context (presents tree of current Filters of context)
This commit is contained in:
@@ -21,15 +21,15 @@
|
||||
// function : GetContext
|
||||
// purpose :
|
||||
// =======================================================================
|
||||
const Handle(AIS_InteractiveContext)& VInspector_ItemBase::GetContext() const
|
||||
Handle(AIS_InteractiveContext) VInspector_ItemBase::GetContext() const
|
||||
{
|
||||
if (!myContext.IsNull())
|
||||
return myContext;
|
||||
|
||||
Handle(AIS_InteractiveContext) aContext;
|
||||
if (const VInspector_ItemContext* aThisContextItem = dynamic_cast<const VInspector_ItemContext*> (this))
|
||||
if (dynamic_cast<const VInspector_ItemContext*> (this))
|
||||
{
|
||||
aContext = aThisContextItem->GetContext();
|
||||
return Handle(AIS_InteractiveContext)(); // context has not be set yet
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user