comparison Framework/Scene2D/Scene2D.cpp @ 829:3a984741686f

Merge
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 29 May 2019 16:15:23 +0200
parents 15d493101c1e
children 094d10ed7ec2
comparison
equal deleted inserted replaced
828:28f99af358fa 829:3a984741686f
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(TRACE) << "SetLayer(" << depth << ", " << reinterpret_cast<intptr_t>(layer) << ")";
106 reinterpret_cast<intptr_t>(layer) << ")";
107 std::auto_ptr<Item> item(new Item(layer, layerCounter_++)); 106 std::auto_ptr<Item> item(new Item(layer, layerCounter_++));
108 107
109 if (layer == NULL) 108 if (layer == NULL)
110 { 109 {
111 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer); 110 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer);