HxGodot / hxgodot

A Haxe GDExtension for Godot 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not export property of type godot.variant.Color

EliteMasterEric opened this issue · comments

commented

The following code:

    @:export
    public var color(default, default):godot.variant.Color = godot.variant.Color.BLACK;

Throws the following build error:

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
haxe build.hxml -debug -D HXCPP_GC_GENERATIONAL -D HXCPP_CPP11 -D static_link -cpp bin/ -cp bindings -D HXCPP_M64
C:\Haxe\Haxe425\haxe\lib\hxgodot/git/src/godot/macros/Macros.hx:687: characters 29-104 : godot.variant.Color should be godot.variant.Variant
src/elitemastereric/VisibleStaticBody.hx:6: lines 6-20 : ... Defined in this class
C:\Haxe\Haxe425\haxe\lib\hxgodot/git/src/godot/macros/Macros.hx:687: characters 29-104 : godot.variant.Color should be godot.variant.Variant
src/elitemastereric/VisibleStaticBody.hx:6: lines 6-20 : ... Defined in this class
scons: *** [bin\libHxGodot-debug.lib] Error 1
scons: building terminated because of errors.

Fixed with 55fdfb4