* 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
This commit is contained in:
Alexandre Deckner 2009-02-16 10:39:26 +00:00
parent 532a47a9f0
commit 4712bc807c

View File

@ -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;