All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

Update returnability of objects based on new encroachment rules

Review Request #56 - Created Dec. 22, 2010 and submitted

Merov Linden Reviewers
viewer
STORM-807 andrew_linden
None viewer-development
The object-vs-parcel overlap test is done by building axis-aligned bounding boxes (AABB) about each prim of the selected objects and then checking for overlap between those boxes and self- and group-owned parcels. 

 
Review request changed
Updated (Jan. 10, 2011, 3:36 p.m.)
Latest diff from most recent andrew_linden repo
Ship it!
Posted (Jan. 10, 2011, 3:55 p.m.)
Good! Only minor typos and code style issues (see review details). About lines commented out, please prefer deletion unless there's a good reason for it which then should be mentioned in comments.
indra/llmath/llbbox.cpp (Diff revision 3)
 
 
Typo : change "rotiation" to "rotation"
indra/llmessage/llregionflags.h (Diff revision 3)
 
 
Suppress legacy code, don't leave it commented out
indra/llmessage/llregionflags.h (Diff revision 3)
 
 
Suppress old code, don't leave it commented out
indra/llmessage/llregionflags.h (Diff revision 3)
 
 
Please suppress (though it was already commented out...)
indra/llmessage/llregionflags.h (Diff revision 3)
 
 
Suppress etc...
indra/llmessage/llregionflags.h (Diff revision 3)
 
 
Suppress etc...
indra/newview/llviewerobject.h (Diff revision 3)
 
 
Typo: one "it" too many
indra/newview/llviewerparceloverlay.cpp (Diff revision 3)
 
 
 
 
 
 
 
 
 
Code style:
- use "{ }" for each for nested loop and each if statement
- use "()" in "||" statement