This patch fixes a critical performance issue and should result in significant performance gains in scenes with many objects. Changes include:
- The XML3D element's 'view' property now always returns the active
<view>
element, even if it wasn't explicitly set through the 'view' attribute - Fixed an issue where removing the active view element could cause errors
- Fixed a critical performance issue that was resulting in many copies of the same GL shader program being created
- Added the ability to disable opaque object sorting through
XML3D.options.setValue("renderer-sort-opaque-objects", true|false)