File tree 3 files changed +4
-3
lines changed
editor/src/main/com/mbrlabs/mundus/editor
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ allprojects {
26
26
27
27
ext {
28
28
appName = " Mundus"
29
- gdxVersion = ' 1.12 .0'
29
+ gdxVersion = ' 1.13 .0'
30
30
visuiVersion = ' 1.5.2'
31
31
kryoVersion = ' 5.2.0'
32
32
junitVersion = ' 4.13.2'
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ package com.mbrlabs.mundus.editor
20
20
21
21
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application
22
22
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration
23
+ import com.badlogic.gdx.utils.Os
23
24
import com.badlogic.gdx.utils.SharedLibraryLoader
24
25
import com.kotcrab.vis.ui.util.OsUtils
25
26
import com.mbrlabs.mundus.commons.utils.ShaderPreprocessor
@@ -92,7 +93,7 @@ private fun launchEditor(options: LaunchOptions) {
92
93
config.setForegroundFPS(options.fps)
93
94
94
95
if (options.useGL30) {
95
- if (SharedLibraryLoader .isMac ) {
96
+ if (SharedLibraryLoader .os == Os . MacOsX ) {
96
97
config.setOpenGLEmulation(Lwjgl3ApplicationConfiguration .GLEmulation .GL30 , 3 , 2 )
97
98
} else {
98
99
config.setOpenGLEmulation(Lwjgl3ApplicationConfiguration .GLEmulation .GL30 , 4 , 3 )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import com.mbrlabs.mundus.commons.scene3d.components.LightComponent
11
11
* @version June 01, 2022
12
12
*/
13
13
class LightGizmo (private var lightComponent : LightComponent ) : Gizmo() {
14
- override lateinit var decal: Decal
14
+ override var decal: Decal
15
15
16
16
init {
17
17
val region = TextureRegion (Texture (Gdx .files.internal(" icon/gizmos/lightbulb-icon.png" )))
You can’t perform that action at this time.
0 commit comments