josmas / openwonderland

Automatically exported from code.google.com/p/openwonderland
GNU General Public License v2.0
3 stars 5 forks source link

Best View does not work properly with containers #313

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add some 2D images to the world that are different sizes and check Best View 
on them
2. Parent the images
3. Check Best View on all the images
4. Scale the parent
5. Check Best View on all the images

What is the expected output? What do you see instead?

I have attached a set of 4 screenshots to illustrate the problem. The images 
"BestViewIssue-UnParented" and "BestViewIssue-Child" show what Best View looks 
like when the images are not parented. When I make the orange flower image the 
parent and the white flower image the child, Best View on the child works fine, 
but Best View on the parent shows what you see in "BestViewIssue-Parented." I 
guess what it's doing is a best view of the whole group? It should show a best 
view of just the selected image.

The other problem happens when the parent is scaled. In this case, Best View 
does not work properly on any of the images. The parent has the same problem as 
described above, but now the child also has a similar problem as seen in 
"BestViewIssue-ParentScaled." The parent in this example is scaled 50%.

Original issue reported on code.google.com by nicole.m...@gmail.com on 13 Dec 2012 at 10:00

Attachments: