You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use Babylon.js v6.35.0 or higher the generated Scala code fails to compile with this error:
[error] ZincCompiler.scala:230 msg.get() [Error] C:/code/scala/js/testjs/target/streams/_global/stImport/_global/streams/sources/b/babylonjs/src/main/scala/typings/babylonjs/BABYLON/PlaneRotationGizmo.scala:93:6: Double definition:
[error] var rotationColor_=(x$1: typings.babylonjs.BABYLON.Color3): Unit in trait PlaneRotationGizmo at line 91 and
[error] def rotationColor_=(color: typings.babylonjs.BABYLON.Color3): Unit in trait PlaneRotationGizmo at line 93
[error] [project => testjs, ms => 59004]
[error] ZincCompiler.scala:230 msg.get() [Error] C:/code/scala/js/testjs/target/streams/_global/stImport/_global/streams/sources/b/babylonjs/src/main/scala/typings/babylonjs/gizmosPlaneRotationGizmoMod.scala:134:8: Double definition:
[error] var rotationColor_=(x$1: typings.babylonjs.mathsMathDotcolorMod.Color3): Unit in class PlaneRotationGizmo at line 132 and
[error] def rotationColor_=(color: typings.babylonjs.mathsMathDotcolorMod.Color3): Unit in class PlaneRotationGizmo at line 134
This is the generated Scala code:
/** Color used to render the drag angle sector when gizmo is rotated with mouse */
var rotationColor: Color3 = js.native
/** Color used to render the drag angle sector when gizmo is rotated with mouse */
def rotationColor_=(color: Color3): Unit = js.native
The text was updated successfully, but these errors were encountered:
jesnor
changed the title
Incorrect Scala code for Babylon.js 6.35+
Incorrect Scala code for Babylon.js v6.35+
Nov 1, 2024
When I try to use Babylon.js v6.35.0 or higher the generated Scala code fails to compile with this error:
This is the generated Scala code:
The text was updated successfully, but these errors were encountered: