Cleanup. Removal of dead code. Added/renamed object flag accessors.
This commit is contained in:
@@ -214,9 +214,9 @@ BOOL LLToolGrab::handleObjectHit(const LLPickInfo& info)
|
||||
|
||||
// Clicks on scripted or physical objects are temporary grabs, so
|
||||
// not "Build mode"
|
||||
mHideBuildHighlight = script_touch || objectp->usePhysics();
|
||||
mHideBuildHighlight = script_touch || objectp->flagUsePhysics();
|
||||
|
||||
if (!objectp->usePhysics())
|
||||
if (!objectp->flagUsePhysics())
|
||||
{
|
||||
// In mouselook, we shouldn't be able to grab non-physical,
|
||||
// non-touchable objects. If it has a touch handler, we
|
||||
|
||||
Reference in New Issue
Block a user