311 |
311 |
312 const bool newObject = (obj == null); |
312 const bool newObject = (obj == null); |
313 matrix transform = g_identity; |
313 matrix transform = g_identity; |
314 AddObjectDialog dlg (type, obj); |
314 AddObjectDialog dlg (type, obj); |
315 |
315 |
316 if (obj) |
316 assert (!obj || obj->getType() == type); |
317 assert (obj->getType() == type); |
|
318 |
317 |
319 if (dlg.exec() == false) |
318 if (dlg.exec() == false) |
320 return; |
319 return; |
321 |
320 |
322 if (type == LDObject::Subfile) |
321 if (type == LDObject::Subfile) |