fix upload .pano suffix, make first layer fixed when animating

This commit is contained in:
2018-03-10 19:26:32 +01:00
parent 660a7ea1ef
commit e5ad765fe1
3 changed files with 11 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ void App::cloud_upload()
async_redraw();
async_end();
upload(path, doc_name, [this,pb](float p){
upload(path, doc_name + ".pano", [this,pb](float p){
async_start();
pb->m_progress->SetWidthP(p * 100.f);
async_redraw();

View File

@@ -601,6 +601,12 @@ void App::initLayout()
layers->handle_layer_opacity(l, .25f);
}
// First layer always visible
{
auto l = layers->get_layer_at(0);
layers->handle_layer_opacity(l, 1.0f);
}
if (frame_text)
{
char str[16];