mirror of
https://github.com/leozide/leocad
synced 2025-02-06 08:46:06 +01:00
Linux fixes.
This commit is contained in:
parent
d4a8dea6f7
commit
7930ff85ac
2 changed files with 3 additions and 1 deletions
|
@ -168,7 +168,7 @@ void Project::UpdateInterface()
|
||||||
SystemUpdateSnap(m_nSnap);
|
SystemUpdateSnap(m_nSnap);
|
||||||
SystemUpdateSnap(m_nMoveSnap, m_nAngleSnap);
|
SystemUpdateSnap(m_nMoveSnap, m_nAngleSnap);
|
||||||
SystemUpdateCameraMenu(m_pCameras);
|
SystemUpdateCameraMenu(m_pCameras);
|
||||||
SystemUpdateCurrentCamera(NULL, m_ActiveView->m_Camera, m_pCameras);
|
SystemUpdateCurrentCamera(NULL, m_ActiveView ? m_ActiveView->m_Camera : NULL, m_pCameras);
|
||||||
UpdateSelection();
|
UpdateSelection();
|
||||||
if (m_bAnimation)
|
if (m_bAnimation)
|
||||||
SystemUpdateTime(m_bAnimation, m_nCurFrame, m_nTotalFrames);
|
SystemUpdateTime(m_bAnimation, m_nCurFrame, m_nTotalFrames);
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include "lc_application.h"
|
#include "lc_application.h"
|
||||||
#include "library.h"
|
#include "library.h"
|
||||||
#include "preview.h"
|
#include "preview.h"
|
||||||
|
#include "camera.h"
|
||||||
|
|
||||||
View* view;
|
View* view;
|
||||||
|
|
||||||
|
@ -598,6 +599,7 @@ int main (int argc, char* argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
view = new View (lcGetActiveProject(), NULL);
|
view = new View (lcGetActiveProject(), NULL);
|
||||||
|
view->m_Camera = lcGetActiveProject()->GetCamera(LC_CAMERA_MAIN);
|
||||||
|
|
||||||
// main_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
// main_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
||||||
gtk_window_set_title (GTK_WINDOW (((GtkWidget*)(*main_window))), "LeoCAD");
|
gtk_window_set_title (GTK_WINDOW (((GtkWidget*)(*main_window))), "LeoCAD");
|
||||||
|
|
Loading…
Add table
Reference in a new issue