NORMALMAP was not working (no normal being used detected), fixes #9263

This commit is contained in:
Juan Linietsky 2018-11-27 18:03:33 -03:00
parent 6e1255ec53
commit e6bc152de8
2 changed files with 2 additions and 1 deletions

View File

@ -477,6 +477,7 @@ void main() {
#if defined(NORMALMAP_USED)
vec3 normal_map = vec3(0.0, 0.0, 1.0);
normal_used=true;
#endif
/* clang-format off */

View File

@ -1452,7 +1452,7 @@ void EditorNode::_edit_current() {
bool is_node = current_obj->is_class("Node");
String editable_warning; //none by default
if (is_resource) {
Resource *current_res = Object::cast_to<Resource>(current_obj);