Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Jolly <mistajolly@gmail.com>2020-02-24 21:17:19 +0300
committerCharlie Jolly <mistajolly@gmail.com>2020-02-24 21:17:19 +0300
commitf9b1e8f000ad636456e66e7a377814d79f7d85ac (patch)
treef2fde9f5b7e3957e2ceb9e8916b0ea2ada284f11 /intern/cycles/kernel/shaders
parentf7b6b7dda358c7928ca053c27357bc068b8c9d12 (diff)
Fix T74169: Vector Rotate Node - Euler modes not working as intended
Remove additional Euler modes for the time being, not working as intended, will add back if there is a need.
Diffstat (limited to 'intern/cycles/kernel/shaders')
-rw-r--r--intern/cycles/kernel/shaders/node_vector_rotate.osl25
1 files changed, 0 insertions, 25 deletions
diff --git a/intern/cycles/kernel/shaders/node_vector_rotate.osl b/intern/cycles/kernel/shaders/node_vector_rotate.osl
index a049ee92dbc..533aa7bbe13 100644
--- a/intern/cycles/kernel/shaders/node_vector_rotate.osl
+++ b/intern/cycles/kernel/shaders/node_vector_rotate.osl
@@ -28,31 +28,6 @@ shader node_vector_rotate(string type = "axis",
if (type == "euler_xyz") {
VectorOut = transform(euler_to_mat(Rotation), VectorIn - Center) + Center;
}
- else if (type == "euler_xzy") {
- VectorOut = transform(euler_to_mat(point(-Rotation[0], -Rotation[2], -Rotation[1])),
- VectorIn - Center) +
- Center;
- }
- else if (type == "euler_yxz") {
- VectorOut = transform(euler_to_mat(point(-Rotation[1], -Rotation[0], -Rotation[2])),
- VectorIn - Center) +
- Center;
- }
- else if (type == "euler_yzx") {
- VectorOut = transform(euler_to_mat(point(Rotation[1], Rotation[2], Rotation[0])),
- VectorIn - Center) +
- Center;
- }
- else if (type == "euler_zxy") {
- VectorOut = transform(euler_to_mat(point(Rotation[2], Rotation[0], Rotation[1])),
- VectorIn - Center) +
- Center;
- }
- else if (type == "euler_zyx") {
- VectorOut = transform(euler_to_mat(point(-Rotation[2], -Rotation[1], -Rotation[0])),
- VectorIn - Center) +
- Center;
- }
else if (type == "x_axis") {
VectorOut = rotate(VectorIn - Center, Angle, point(0.0), vector(1.0, 0.0, 0.0)) + Center;
}