Skip to content

Commit

Permalink
Remove todo and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chippmann committed Mar 4, 2023
1 parent 211043a commit f8ff8ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fun Type.isGodotPrimitive(): Boolean = when (fqName) {
else -> false
}

// TODO: 4.0: fix ordinals: https://github.com/godotengine/godot/blob/0810ecaafdbee3ea747219e6ab3a8de5d2216a09/editor/editor_properties_array_dict.cpp
// ordinals can be found in core/variant/variant.h
fun Type.getAsVariantTypeOrdinal(): Int? = when (fqName) {
Boolean::class.qualifiedName -> 1
Int::class.qualifiedName,
Expand Down

0 comments on commit f8ff8ef

Please sign in to comment.