Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/Scene2D.cpp @ 644:f939f449482c
Ongoing tracker work.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 10 May 2019 16:15:55 +0200 |
parents | 500c3f70b6c2 |
children | b4fe9642e83b |
comparison
equal
deleted
inserted
replaced
634:6a144a45b2d8 | 644:f939f449482c |
---|---|
100 | 100 |
101 | 101 |
102 void Scene2D::SetLayer(int depth, | 102 void Scene2D::SetLayer(int depth, |
103 ISceneLayer* layer) // Takes ownership | 103 ISceneLayer* layer) // Takes ownership |
104 { | 104 { |
105 LOG(INFO) << "SetLayer(" << depth << ", " << | 105 //LOG(INFO) << "SetLayer(" << depth << ", " << |
106 reinterpret_cast<intptr_t>(layer) << ")"; | 106 // reinterpret_cast<intptr_t>(layer) << ")"; |
107 std::auto_ptr<Item> item(new Item(layer, layerCounter_++)); | 107 std::auto_ptr<Item> item(new Item(layer, layerCounter_++)); |
108 | 108 |
109 if (layer == NULL) | 109 if (layer == NULL) |
110 { | 110 { |
111 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer); | 111 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer); |