comparison Framework/Scene2D/Scene2D.cpp @ 934:094d10ed7ec2

VolumeSceneLayerSource dtor now clears the layer
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 29 Jul 2019 13:46:29 +0200
parents 15d493101c1e
children 685c9a2d115f
comparison
equal deleted inserted replaced
933:f75f6cb69c1b 934:094d10ed7ec2
130 130
131 Content::iterator found = content_.find(depth); 131 Content::iterator found = content_.find(depth);
132 132
133 if (found != content_.end()) 133 if (found != content_.end())
134 { 134 {
135 LOG(INFO) << "DeleteLayer --found-- (" << depth << ")"; 135 LOG(TRACE) << "DeleteLayer --found-- (" << depth << ")";
136 assert(found->second != NULL); 136 assert(found->second != NULL);
137 delete found->second; 137 delete found->second;
138 content_.erase(found); 138 content_.erase(found);
139 } 139 }
140 } 140 }