aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolpie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltoolpie.cpp')
-rw-r--r--linden/indra/newview/lltoolpie.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/lltoolpie.cpp b/linden/indra/newview/lltoolpie.cpp
index adc46e2..7231286 100644
--- a/linden/indra/newview/lltoolpie.cpp
+++ b/linden/indra/newview/lltoolpie.cpp
@@ -390,11 +390,11 @@ U8 final_click_action(LLViewerObject* obj)
390 if (obj->isAttachment()) return CLICK_ACTION_NONE; 390 if (obj->isAttachment()) return CLICK_ACTION_NONE;
391 391
392 U8 click_action = CLICK_ACTION_TOUCH; 392 U8 click_action = CLICK_ACTION_TOUCH;
393 LLViewerObject* parent = (obj ? obj->getRootEdit() : NULL); 393 LLViewerObject* parent = obj->getRootEdit();
394 if ((obj && obj->getClickAction()) 394 if (obj->getClickAction()
395 || (parent && parent->getClickAction())) 395 || (parent && parent->getClickAction()))
396 { 396 {
397 if (obj && obj->getClickAction()) 397 if (obj->getClickAction())
398 { 398 {
399 click_action = obj->getClickAction(); 399 click_action = obj->getClickAction();
400 } 400 }