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.

STORM-622 FIXED Texture picker screws up when multiple textures are opened

Review Request #7 - Created Dec. 9, 2010 and submitted

Paul ProductEngine Reviewers
STORM-622 vadim.productengine, andrew.productengine
None viewer-beta
Reason:
	In viewer 2 was added ability to set aspect ratio while previewing textures. It was achieved by resizing the floater containing a texture, instead of proportionally resize the texture. The problem happened when multifloater was opened with texture preview floaters and for some floaters textures was not loaded yet.After texture was loaded, the floater (in multifloater) which contained just loaded texture resized to fit with the new texture's size and texture preview floaters screwed up from the multifloater.

Solution: 
        Proportionally resizing a texture inside the floater instead of the floater itself.

Also two issues was fixed: 1. when floater resized the texture streched in the floater and lost its proportions. 2. When docking texture floater to the multifloater, multifloater resized to fit with docked floater and other texture lost their proportions.

 
Review request changed
Updated (Dec. 9, 2010, 6:45 a.m.)
Ship it!
Posted (Dec. 9, 2010, 10:43 a.m.)
Results look good, changes in code look reasonable.