diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-12-21 10:44:13 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-12-21 10:44:13 -0800 |
commit | 2ebd9b54af332c653917c2b38000f30817dbe364 (patch) | |
tree | c292dd7e4d093686a2dccdfb3e5fce2c40a0f823 /indra/llui/lluictrlfactory.h | |
parent | 16ae542f5ae3d00fd5ffe744914af0506bed68c2 (diff) | |
parent | 5d8442f05613a4b7bc2b1ffb88e2450a4de965ea (diff) |
Automated merge with ssh://richard@hg.lindenlab.com/james/gooey
Diffstat (limited to 'indra/llui/lluictrlfactory.h')
-rw-r--r-- | indra/llui/lluictrlfactory.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llui/lluictrlfactory.h b/indra/llui/lluictrlfactory.h index 6788f29ba9..b1fa6add67 100644 --- a/indra/llui/lluictrlfactory.h +++ b/indra/llui/lluictrlfactory.h @@ -184,8 +184,6 @@ public: { T* widget = NULL; - T::setupParams(params, parent); - if (!params.validateBlock()) { llwarns << getInstance()->getCurFileName() << ": Invalid parameter block for " << typeid(T).name() << llendl; @@ -310,6 +308,7 @@ fail: // Apply layout transformations, usually munging rect params.from_xui = true; + T::applyXUILayout(params, parent); T* widget = createWidget<T>(params, parent); typedef typename T::child_registry_t registry_t; |