fix upload .pano suffix, make first layer fixed when animating
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user