Cleanup some GLOBAL_DEFs
This commit is contained in:
@@ -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..
|
||||
|
||||
Reference in New Issue
Block a user