Removed the following deprecated definitions from the SelectedFloorControl
class.
Removed: public CoreDistanceField elevation; Removed: public CoreDistanceField floorT; Removed: public CoreDistanceField ceilingH;
The following constructors in FloorViewItem
has been changed. The remaining constructor should be enough for all known use-cases.
Old: public class FloorViewItem extends TreeViewItem { New: public class FloorViewItem extends LevelTreeViewItemBase { Old: public constructor(FloorsControl floorsControl, SpaceVolume v, SrcRef src=#:src) { New: public constructor(FloorsControl floorsControl, SpaceVolume v) { Removed: public constructor(FloorsControl floorsControl, symbol id, Space space, SrcRef src=#:src) {
The following fields in the FloorViewItem
class was made private and moved into the base class LevelTreeViewItemBase
. The fields can still be accessed through getter functions.
Old: public Space space : copy=reference; New: private Space _space : copy=reference; Old: public symbol volumeId; New: private symbol _volumeId;
The following methods in FloorViewItem
have been modified and moved into the new base class LevelTreeViewItemBase. In most cases this shouldn't require any action.
Old: extend public bool isOutside() { New: final public bool isOutside() { Old: extend public void setSpace(Space space) { New: extend public void setSpace(Space newSpace) { Old: extend private bool anyLevelsCreated() { New: final public bool anyLevelsCreated() { Old: extend public bool isVisible() { New: final public bool isVisible() { Old: extend public bool isLocked() { New: final public bool isLocked() { Old: extend public bool isSolid() { New: final public bool isSolid() { Old: extend public void toggleVisibility() { New: final public void toggleVisibility() { Old: extend public void toggleLocked() { New: final public void toggleLocked() { Old: extend public void toggleSolid() { New: final public void toggleSolid() {
The following method in FloorViewItem
has been moved to a standalone function outside of the class.
Removed: extend public void cloneFloor(bool onlyVolumeSnappers) { Added: package void undoableCloneLevel(SpaceVolume volume, Space space, bool onlyVolumeSnappers=false) {