Cleanup some GLOBAL_DEFs
This commit is contained in:
parent
5f1e56ff26
commit
cd0aaab48c
7 changed files with 9 additions and 12 deletions
|
|
@ -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..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue