From 53c7e2869f404dc15f99d3f82605cc40789b0e6e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 12 Apr 2019 00:11:12 +0200 Subject: [PATCH] 3d:: crystal:: transform: change the model --- crystal.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crystal.cpp b/crystal.cpp index 4df77421..3207ada7 100644 --- a/crystal.cpp +++ b/crystal.cpp @@ -1439,6 +1439,8 @@ void transform_crystal_to_euclid () { cwt.spin = neighborId(cwt.at, infront); View = iddspin(cwt.at, cwt.spin, M_PI/2); if(!flipplayer) View = cspin(0, 2, M_PI) * View; + + if(pmodel == mdDisk) pmodel = mdPerspective; } void transform_euclid_to_crystal () { @@ -1503,6 +1505,7 @@ void transform_euclid_to_crystal () { View = Id; clearAnimations(); cwt.spin = neighborId(cwt.at, infront); + if(pmodel == mdPerspective) pmodel = mdDisk; } void add_crystal_transform(char c) {