Corrected behaviour of 3d viewer after shape deleting in qt samples.
Corrected behaviour of toolbar buttons after shape deleting in csharp samples.
public void Delete ()
{
View.EraseObjects ();
+ SelectionChanged ();
}
protected void MultiDragEvent (int x, int y, int theState)
public void Delete()
{
View.EraseObjects();
+ SelectionChanged();
}
public void OnKeyDown( System.Windows.Input.Key theKey )
public void DeleteObjects()
{
myOCCTProxy.EraseObjects();
+ IE_WinForms.Form1 parent = (IE_WinForms.Form1)this.ParentForm;
+ parent.SelectionChanged();
}
public void ImportModel(IE_WinForms.ModelFormat format)
{
{
myContext->EraseSelected (Standard_False);
myContext->ClearSelected();
+ myContext->UpdateCurrentViewer();
getApplication()->onSelectionChanged();
}