summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterproperties.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-11 15:07:37 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-11 15:07:37 +0000
commit15ff4379e53eb5b3ed914c46c0051c3926de1ecb (patch)
treef16087fcddedb2a4e19f1f24b24de9e3c257d5b0 /indra/newview/llfloaterproperties.cpp
parent19962a783365784e3b820521e5854fdaf217133c (diff)
parentf023d238292332b6ed72d95af5e7381ce1f55fc4 (diff)
merge from viewer2 trunk.
Diffstat (limited to 'indra/newview/llfloaterproperties.cpp')
-rw-r--r--indra/newview/llfloaterproperties.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfloaterproperties.cpp b/indra/newview/llfloaterproperties.cpp
index bde86a4034..5c0593ad29 100644
--- a/indra/newview/llfloaterproperties.cpp
+++ b/indra/newview/llfloaterproperties.cpp
@@ -880,7 +880,11 @@ void LLFloaterProperties::dirtyAll()
iter != inst_list.end(); ++iter)
{
LLFloaterProperties* floater = dynamic_cast<LLFloaterProperties*>(*iter);
- floater->dirty();
+ llassert(floater); // else cast failed - wrong type D:
+ if (floater)
+ {
+ floater->dirty();
+ }
}
}