Fixed back-end warning infrastructure: The Print / PrintObject

should have been derived from ObjectBase, not from ObjectID.
This commit is contained in:
bubnikv 2020-07-21 15:33:28 +02:00
parent 6057fb9595
commit f7ceffb46e
5 changed files with 12 additions and 10 deletions

View file

@ -42,6 +42,8 @@ private:
// Base for Model, ModelObject, ModelVolume, ModelInstance or ModelMaterial to provide a unique ID
// to synchronize the front end (UI) with the back end (BackgroundSlicingProcess / Print / PrintObject).
// Also base for Print, PrintObject, SLAPrint, SLAPrintObject to provide a unique ID for matching Model / ModelObject
// with their corresponding Print / PrintObject objects by the notification center at the UI when processing back-end warnings.
// Achtung! The s_last_id counter is not thread safe, so it is expected, that the ObjectBase derived instances
// are only instantiated from the main thread.
class ObjectBase