rework keyframe hide popup, keyframe auto render, textbox set_selection wide text
[goodguy/history.git] / cinelerra-5.1 / cinelerra / assetedit.C
index cb633437472323ed4709f55dbe992df32ab0bc8e..dbdabf36edb49a00bdea9cdc145d288135e4d606 100644 (file)
@@ -154,7 +154,7 @@ void AssetEdit::handle_close_event(int result)
 // happening when new_asset was created but not be happening anymore.
                        if(asset)
                        {
-                       mwindow->remove_asset_from_caches(asset);
+                               mwindow->remove_asset_from_caches(asset);
 //printf("AssetEdit::handle_close_event %d %f\n", __LINE__, asset->get_frame_rate());
                                asset->copy_from(changed_params, 0);
 //printf("AssetEdit::handle_close_event %d %d %d\n", __LINE__, changed_params->bits, asset->bits);
@@ -517,7 +517,7 @@ void AssetEditWindow::create_objects()
 
                add_subwindow(new BC_Title(x, y, _("Frame rate:")));
                x = x2;
-               sprintf(string, "%.2f", asset_edit->changed_params->frame_rate);
+               sprintf(string, "%.4f", asset_edit->changed_params->frame_rate);
 
 //printf("AssetEditWindow::create_objects %d %f\n", __LINE__, asset_edit->changed_params->frame_rate);
                if(asset)
@@ -1036,8 +1036,8 @@ void DetailAssetThread::stop()
                dwindow->lock_window("DetailAssetThread::stop");
                dwindow->set_done(1);
                dwindow->unlock_window();
-               Thread::join();
        }
+       Thread::join();
 }
 
 void DetailAssetWindow::create_objects()