We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d61e28d commit 145aaa5Copy full SHA for 145aaa5
addons/block_code/ui/picker/categories/category_factory.gd
@@ -494,13 +494,15 @@ static func property_to_blocklist(property: Dictionary) -> Array[Block]:
494
var variant_type = property.type
495
496
const FALLBACK_SET_FOR_TYPE = {
497
+ TYPE_BOOL: false,
498
TYPE_INT: "0",
499
TYPE_FLOAT: "0",
500
TYPE_VECTOR2: "0,0",
501
TYPE_COLOR: "DARK_ORANGE",
502
}
503
504
const FALLBACK_CHANGE_FOR_TYPE = {
505
+ TYPE_BOOL: true,
506
TYPE_INT: "1",
507
TYPE_FLOAT: "1",
508
TYPE_VECTOR2: "1,1",
0 commit comments