mirror of
https://github.com/leozide/leocad
synced 2025-01-29 20:34:50 +01:00
Don't set the current user as the author when loading a model if the file doesn't specify one.
This commit is contained in:
parent
c9839c945e
commit
c926da827c
2 changed files with 3 additions and 2 deletions
|
@ -394,6 +394,8 @@ void lcModel::LoadLDraw(QIODevice& Device, Project* Project)
|
|||
lcArray<lcGroup*> CurrentGroups;
|
||||
int CurrentStep = 1;
|
||||
|
||||
mProperties.mAuthor.clear();
|
||||
|
||||
while (!Device.atEnd())
|
||||
{
|
||||
qint64 Pos = Device.pos();
|
||||
|
|
|
@ -28,8 +28,7 @@ enum lcBackgroundType
|
|||
{
|
||||
LC_BACKGROUND_SOLID,
|
||||
LC_BACKGROUND_GRADIENT,
|
||||
LC_BACKGROUND_IMAGE,
|
||||
LC_NUM_BACKGROUND_TYPES
|
||||
LC_BACKGROUND_IMAGE
|
||||
};
|
||||
|
||||
class lcModelProperties
|
||||
|
|
Loading…
Add table
Reference in a new issue