mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
rogueviz::smoothcam:: fixed edit this segment
This commit is contained in:
parent
db72e94f4c
commit
7beef4e417
@ -214,7 +214,7 @@ void edit_step(animation& anim, int id) {
|
|||||||
popScreen();
|
popScreen();
|
||||||
});
|
});
|
||||||
dialog::addItem("edit this segment and move the camera here", 'p');
|
dialog::addItem("edit this segment and move the camera here", 'p');
|
||||||
dialog::add_action([&f] {
|
dialog::add_action([&anim, &f] {
|
||||||
last_view = View = f.sView;
|
last_view = View = f.sView;
|
||||||
NLP = ortho_inverse(f.ori);
|
NLP = ortho_inverse(f.ori);
|
||||||
centerover = f.where;
|
centerover = f.where;
|
||||||
@ -223,6 +223,8 @@ void edit_step(animation& anim, int id) {
|
|||||||
current_display->which_copy =
|
current_display->which_copy =
|
||||||
nonisotropic ? gpushxto0(tC0(view_inverse(View))) :
|
nonisotropic ? gpushxto0(tC0(view_inverse(View))) :
|
||||||
View;
|
View;
|
||||||
|
current_segment = &anim;
|
||||||
|
popScreen();
|
||||||
});
|
});
|
||||||
dialog::addItem("start a new segment from here", 'n');
|
dialog::addItem("start a new segment from here", 'n');
|
||||||
dialog::add_action([&f] {
|
dialog::add_action([&f] {
|
||||||
|
Loading…
Reference in New Issue
Block a user