Skip to content

Commit

Permalink
Debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Moore committed Jan 4, 2009
1 parent 5ba0c41 commit 0e12b44
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions synfig-core/trunk/src/synfig/layer_skeleton.cpp
Expand Up @@ -72,6 +72,14 @@ Layer_Skeleton::Layer_Skeleton():
bones.push_back(Bone());
}

#ifdef _DEBUG
Layer_Skeleton::~Layer_Skeleton()
{
if (getenv("SYNFIG_DEBUG_DESTRUCTORS"))
printf("%s:%d ~Layer_Skeleton()\n", __FILE__, __LINE__);
}
#endif

bool
Layer_Skeleton::set_param(const String & param, const ValueBase &value)
{
Expand Down

0 comments on commit 0e12b44

Please sign in to comment.