mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
anims:: calling conformal::apply() correctly
This commit is contained in:
parent
6f0cdea2fc
commit
2ffcd47150
@ -561,6 +561,8 @@ string animfile = "animation-%04d.png";
|
||||
bool record_animation() {
|
||||
for(int i=0; i<noframes; i++) {
|
||||
ticks = i * period / noframes;
|
||||
apply();
|
||||
conformal::configure();
|
||||
if(conformal::on) {
|
||||
conformal::phase = isize(conformal::v) * i * 1. / noframes;
|
||||
conformal::movetophase();
|
||||
@ -568,7 +570,6 @@ bool record_animation() {
|
||||
|
||||
char buf[1000];
|
||||
snprintf(buf, 1000, animfile.c_str(), i);
|
||||
apply();
|
||||
saveHighQualityShot(buf);
|
||||
rollback();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user