Skip to content

Commit e432866

Browse files
authored
Update index.js
1 parent 92a0f20 commit e432866

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Typings/LightmapSettings/index.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ const OUT = new Soup(Object);
55

66
class LightmapSettings {
77
constructor(settings) {
8-
let baseSettings = this.extend(this.parent.BaseSettings, settings);
8+
let fixedSettings = this.parent.__formSettings(this, settings);
9+
this.extend(this.parent.BaseSettings, fixedSettings);
910

10-
this.GIWorkflowMode = this.__getSetting("m_GIWorkflowMode", settings);
11-
this.GISettings = new this.parent.GISettings(settings, baseSettings);
12-
this.lightmapEditorSettings = new this.parent.LightmapEditorSettings(settings, baseSettings);
13-
this.lighting = new this.parent.Lighting(settings, baseSettings);
11+
this.lightmapEditorSettings = new this.parent.BuildSettings(fixedSettings.LightmapEditorSettings);
1412
}
1513
}
1614

0 commit comments

Comments
 (0)