Update node attributes when editing with gizmo.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@696 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Added multiple node rotation around the gizmo and scaling.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@697 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Renamed AddUnculledDrawable() to AddManualDrawable().
Made it easier to select all gizmo axes.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@698 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed scaling mode.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@699 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Gizmo improvements.
Reduced node transform edit related code duplication in the editor.
Exposed Plane class to script.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@700 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Removed node rotation post-snapping, as it has potential to produce erratic behavior.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@701 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed erroneous use of local axis movement when more than one node selected.
Split the extra (custom) rendering pass into prealpha and postalpha.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@702 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Added subgeometry centers to the model format for proper sorting of transparent geometries.



git-svn-id: http://urho3d.googlecode.com/svn/trunk@703 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Removed unnecessary paranoia from writing the model's geometry centers.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@704 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Sort also the postalpha pass back to front.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@705 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Use OpenGL convention in vertex colors to avoid need for different vertex data depending on the API.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@706 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Added different axis models for the rotation & scaling modes.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@707 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed maxLights not exposed to script.
Added maxLights setting to TestSceneOld animated models as a test.
Improved drawable light sorting.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@708 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Tweaks to light intensity sorting.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@709 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Further optimization and improvement of light intensity sorting.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@710 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Separated SetIntensitySortValue() into two separate functions.
Use the drawable's bounding box in light sort value calculations, instead of just the bounding box center.
Added Rect::Clip().


git-svn-id: http://urho3d.googlecode.com/svn/trunk@711 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Zone system refactoring. Now objects check which zone they're in, for per-object ambient light and fog settings.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@712 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Rewritten zone query handling.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@713 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Added zone property for Drawables in the script API where applicable.
Removed the viewmask attribute from Zone as it is not currently used.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@714 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Reimplemented the MSVC random number generator to produce same random number output on all platforms.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@715 3bd170d8-ddcf-f82c-f583-7a401ccf5608