diff --git a/rug.cpp b/rug.cpp index a8508d38..f669eaef 100644 --- a/rug.cpp +++ b/rug.cpp @@ -376,6 +376,7 @@ void buildTorusRug() { using namespace torusconfig; calcparam_rug(); + conformal::configure(); struct toruspoint { int x,y; @@ -1280,6 +1281,7 @@ void prepareTexture() { dynamicval d(vid.stereo_mode, sOFF); calcparam_rug(); + conformal::configure(); glbuf->enable(); current_display->set_viewport(0); @@ -1785,6 +1787,7 @@ hyperpoint gethyper(ld x, ld y) { double px = rx1 * TEXTURESIZE, py = (1-ry1) * TEXTURESIZE; calcparam_rug(); + conformal::configure(); hyperpoint h = hr::gethyper(px, py); calcparam(); diff --git a/textures.cpp b/textures.cpp index a5a90e9b..fa06a43c 100644 --- a/textures.cpp +++ b/textures.cpp @@ -936,6 +936,7 @@ bool texture_config::load() { if(!data.readtexture(texturename)) return false; if(!data.loadTextureGL()) return false; calcparam(); + conformal::configure(); drawthemap(); config.tstate = config.tstate_max = tsActive; string s = move(texture_tuner); @@ -1516,6 +1517,7 @@ void texture_config::remap() { else if(tstate == tsAdjusting) { printf("perform_mapping %d/%d\n", config.tstate, config.tstate_max); calcparam(); + conformal::configure(); drawthemap(); perform_mapping(); finish_mapping();