[sldev] Am I missing something ...

Aimee Walton aimee at ama-zing.co.uk
Fri May 30 03:13:28 PDT 2008


Hi,

Can anyone explain a good reason for this to me ...

		mLastShowParcelOwners = gSavedSettings.getBOOL("ShowParcelOwners");
		gSavedSettings.setBOOL("ShowParcelOwners", mLastShowParcelOwners);

Happens in lltoolbrush.cpp and lltoolselectland.cpp when selecting or  
deselecting the tool. Is that as pointless as it looks, or is there  
some intended side effect I'm missing? Commented out all references  
to mLastShowParcelOwners and seems to have no noticeable effect, it's  
not used for anything else.

If I remember rightly, Show Owners used to get forced on when using  
the land tools, so I'm guessing there used to be more code wrapped in  
the middle, and this was just the save and restore state that got  
left behind when it was removed?

Aimee.


More information about the SLDev mailing list