mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Fixed some valgrind warnings about uninitialized variables.
This commit is contained in:
parent
ddb7a49d94
commit
4ebbd438d7
2 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,9 @@ lcMesh::lcMesh()
|
|||
{
|
||||
mSections = NULL;
|
||||
mNumSections = 0;
|
||||
mNumVertices = 0;
|
||||
mNumTexturedVertices = 0;
|
||||
mIndexType = 0;
|
||||
}
|
||||
|
||||
lcMesh::~lcMesh()
|
||||
|
|
|
@ -68,6 +68,8 @@ Project::Project()
|
|||
m_pBackground = new lcTexture();
|
||||
m_nAutosave = Sys_ProfileLoadInt ("Settings", "Autosave", 10);
|
||||
m_nMouse = Sys_ProfileLoadInt ("Default", "Mouse", 11);
|
||||
m_nDownX = 0;
|
||||
m_nDownY = 0;
|
||||
strcpy(m_strModelsPath, Sys_ProfileLoadString ("Default", "Projects", ""));
|
||||
|
||||
if (messenger == NULL)
|
||||
|
|
Loading…
Reference in a new issue