diff options
author | Merov Linden <merov@lindenlab.com> | 2011-09-23 15:09:37 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2011-09-23 15:09:37 -0700 |
commit | 1bcf6882c5faa94385f045e1c591da96408bb032 (patch) | |
tree | dd1ad52f6c8dc166a413d3a7d78fc1e3836e7dac /indra/llui/lluictrlfactory.h | |
parent | f50d28303c28fdccc5f06dcbc1147a9d3223d07f (diff) |
EXP-1207 : More on lltoolbarview. Still not rendering
Diffstat (limited to 'indra/llui/lluictrlfactory.h')
-rw-r--r-- | indra/llui/lluictrlfactory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/lluictrlfactory.h b/indra/llui/lluictrlfactory.h index d345ad4cd0..71c38237c1 100644 --- a/indra/llui/lluictrlfactory.h +++ b/indra/llui/lluictrlfactory.h @@ -172,7 +172,7 @@ public: static T* createFromFile(const std::string &filename, LLView *parent, const widget_registry_t& registry, LLXMLNodePtr output_node = NULL) { T* widget = NULL; - + std::string skinned_filename = findSkinnedFilename(filename); instance().pushFileName(filename); { @@ -201,10 +201,10 @@ public: // not of right type, so delete it if (!widget) { + llwarns << "Widget in " << filename << " was of type " << typeid(view).name() << " instead of expected type " << typeid(T).name() << llendl; delete view; view = NULL; } - } } fail: |