forked from blender/blender
MaterialX: code improvements shader modes. #35
@ -327,6 +327,7 @@ NodeItem NodeItem::dotproduct(const NodeItem &other) const
|
||||
|
||||
NodeItem item1 = to_vector();
|
||||
NodeItem item2 = other.to_vector();
|
||||
cast_types(item1, item2);
|
||||
return create_node("dotproduct", Type::Float, {{"in1", item1}, {"in2", item2}});
|
||||
Vasyl-Pidhirskyi marked this conversation as resolved
Outdated
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user
Why this was removed?
Seems it could produce error when we try to do dotproduct vector2 by float or by vector3
Agree, reverted changes.