NORMALMAP was not working (no normal being used detected), fixes #9263
This commit is contained in:
parent
6e1255ec53
commit
e6bc152de8
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue