diff --git a/hyper.h b/hyper.h index c5dd6ed7..0a4accb5 100644 --- a/hyper.h +++ b/hyper.h @@ -1298,6 +1298,9 @@ namespace rug { rugpoint *addRugpoint(hyperpoint h, double dist); void buildRug(); + bool in_crystal(); + void physics(); + extern renderbuffer *glbuf; extern eGeometry gwhere; extern bool no_fog; diff --git a/screenshot.cpp b/screenshot.cpp index 60fdf37b..356b521d 100644 --- a/screenshot.cpp +++ b/screenshot.cpp @@ -267,6 +267,7 @@ void saveHighQualityShot(const char *fname, const char *caption, int fade) { if(rug::rugged) { if(!rug::renderonce) rug::prepareTexture(); glbuf.enable(); + if(rug::in_crystal()) rug::physics(); rug::drawRugScene(); } else