Cleanup some GLOBAL_DEFs

This commit is contained in:
kobewi
2023-08-24 22:39:40 +02:00
parent 5f1e56ff26
commit cd0aaab48c
7 changed files with 9 additions and 12 deletions

View File

@@ -208,7 +208,7 @@ Error ColladaImport::_create_scene(Collada::Node *p_node, Node3D *p_parent) {
return OK; //do nothing not needed
}
if (!bool(GLOBAL_DEF("collada/use_ambient", false))) {
if (!bool(GLOBAL_GET("collada/use_ambient"))) {
return OK;
}
//well, it's an ambient light..