/** * Retrieves the active hierarchy */ public Hierarchy getActiveHierarchy() { if (!hasActiveHierarchy()) { // throw new RuntimeException("no active Hierarchy present for // scene"); setActiveHierarchy(new Hierarchy()); } return activeHierarchy; }
/** Retrieves the active hierarchy */ public Hierarchy getActiveHierarchy() { if(!hasActiveHierarchy()) //throw new RuntimeException("no active Hierarchy present for scene"); setActiveHierarchy( new Hierarchy() ); return activeHierarchy; }
/** Retrieves the active hierarchy */ public Hierarchy getActiveHierarchy() { if(!hasActiveHierarchy()) //throw new RuntimeException("no active Hierarchy present for scene"); setActiveHierarchy( new Hierarchy() ); return activeHierarchy; }