Cycles / Vector Transform node:
* Code cleanup to avoid duplicated enum code. * Added a third type for conversion next to Point and Vector: Normal. This is basically the same result as with the Vector type, but normalizes the vector at the end. Thanks to Brecht for code review!
This commit is contained in:
@@ -513,8 +513,7 @@ public:
|
||||
ustring convert_to;
|
||||
|
||||
static ShaderEnum type_enum;
|
||||
static ShaderEnum convert_from_enum;
|
||||
static ShaderEnum convert_to_enum;
|
||||
static ShaderEnum convert_space_enum;
|
||||
};
|
||||
|
||||
class BumpNode : public ShaderNode {
|
||||
|
Reference in New Issue
Block a user