From 4712bc807c4d2d453a7d12548a6b4ce53aaf21a7 Mon Sep 17 00:00:00 2001 From: Alexandre Deckner Date: Mon, 16 Feb 2009 10:39:26 +0000 Subject: [PATCH] * Revert one the changes done in r29198 has it happen to be wrong. See #3450 and #3011 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29229 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/PoseView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/tracker/PoseView.cpp b/src/kits/tracker/PoseView.cpp index ed16ec106a..7d1b9de7c5 100644 --- a/src/kits/tracker/PoseView.cpp +++ b/src/kits/tracker/PoseView.cpp @@ -1622,8 +1622,8 @@ BPoseView::CreatePoses(Model **models, PoseInfo *poseInfoArray, int32 count, float listViewScrollBy = 0; for (int32 modelIndex = 0; modelIndex < count; modelIndex++) { Model *model = models[modelIndex]; - ASSERT(!FindPose(model)); - if (FindZombie(model->NodeRef())) { + + if (FindPose(model) || FindZombie(model->NodeRef())) { // we already have this pose, don't add it watch_node(model->NodeRef(), B_STOP_WATCHING, this); delete model;