selected()
now has a CoreObject
owner passed through as needed./** * Selected. * From componentVessel in space OR from pickSurface in view. * Return true if taken care of. */ extend public bool selected(View view, WindowViewMouseInfo mi, PickSurface3D surface, CoreObject owner=null) { /** Subclass */ return false; }
/** * Update Components. */ public void updateComponents() { update(); super(..); } /** * Update */ extend public void update() { /** Subclass */ }
CoreObject
now has:/** * Update Components. */ extend public void updateComponents() { for (c in components()) c.updateComponents(); }
/** * Rotate component on insert. */ extend public Orientation componentInsertRotation(Component component, Animation insertAnimation) { return null; }
Note: Nothing inherently calling this. You still need to manually invoke this as needed.