fix upload .pano suffix, make first layer fixed when animating
This commit is contained in:
@@ -729,7 +729,9 @@
|
|||||||
<border color=".3 .3 .3 .4" height="50" width="100%" pad="10" dir="row">
|
<border color=".3 .3 .3 .4" height="50" width="100%" pad="10" dir="row">
|
||||||
<text text="Timeline: " font-face="arial" font-size="11" margin="8 10 0 0"/>
|
<text text="Timeline: " font-face="arial" font-size="11" margin="8 10 0 0"/>
|
||||||
<slider-h id="frames-slider" width="1" grow="1" margin="0 10 0 0"></slider-h>
|
<slider-h id="frames-slider" width="1" grow="1" margin="0 10 0 0"></slider-h>
|
||||||
<text id="timeline-frame" text="00" font-face="arial" font-size="30" margin="5 10 0 10"/>
|
<node width="30" margin="5 10 0 10">
|
||||||
|
<text id="timeline-frame" text="00" font-face="arial" font-size="30"/>
|
||||||
|
</node>
|
||||||
</border>
|
</border>
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ void App::cloud_upload()
|
|||||||
async_redraw();
|
async_redraw();
|
||||||
async_end();
|
async_end();
|
||||||
|
|
||||||
upload(path, doc_name, [this,pb](float p){
|
upload(path, doc_name + ".pano", [this,pb](float p){
|
||||||
async_start();
|
async_start();
|
||||||
pb->m_progress->SetWidthP(p * 100.f);
|
pb->m_progress->SetWidthP(p * 100.f);
|
||||||
async_redraw();
|
async_redraw();
|
||||||
|
|||||||
@@ -601,6 +601,12 @@ void App::initLayout()
|
|||||||
layers->handle_layer_opacity(l, .25f);
|
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)
|
if (frame_text)
|
||||||
{
|
{
|
||||||
char str[16];
|
char str[16];
|
||||||
|
|||||||
Reference in New Issue
Block a user