.. | .. |
---|
80 | 80 | this.copy = this.group = copy; |
---|
81 | 81 | //selectees = this.group.selectees; |
---|
82 | 82 | |
---|
83 | | - if (copy.versions == null) |
---|
84 | | - { |
---|
85 | | - copy.versions = new byte[100][]; |
---|
86 | | - copy.versionindex = -1; |
---|
87 | | - } |
---|
88 | | - |
---|
89 | 83 | SetupMenu2(this); //objEditor); |
---|
90 | 84 | SetupUI2(objEditor); |
---|
91 | 85 | objEditor.SetupUI(true); |
---|
92 | 86 | SetupViews(objEditor); |
---|
93 | 87 | |
---|
94 | 88 | ((cRadio)radioPanel.getComponent(0)).SetCamera(cameraView.renderCamera, true); |
---|
| 89 | + |
---|
| 90 | + if (copy.versions == null) |
---|
| 91 | + { |
---|
| 92 | + copy.versions = new byte[100][]; |
---|
| 93 | + copy.versionindex = -1; |
---|
| 94 | + |
---|
| 95 | + Save(true); |
---|
| 96 | + } |
---|
95 | 97 | } |
---|
96 | 98 | |
---|
97 | 99 | void CloneSelection(boolean supports) |
---|
.. | .. |
---|
4798 | 4800 | |
---|
4799 | 4801 | void refreshContents(boolean cp) |
---|
4800 | 4802 | { |
---|
4801 | | - if (objectPanel.getSelectedIndex() == objectPanel.indexOfTab("Info")) |
---|
| 4803 | + if (objectPanel.getSelectedIndex() == 2) // objectPanel.indexOfTab("Info")) |
---|
4802 | 4804 | if (!Globals.MOUSEDRAGGED && group.selection != null) // && !Globals.TIMERRUNNING) |
---|
4803 | 4805 | { |
---|
4804 | 4806 | objEditor.ClearInfo(); // .GetMaterial()); |
---|