Made the more of the OSG's referenced object desctructors protected to ensure
that they arn't created on the stack inappropriately. Split the implemention of Matrix up so that it is a simple no referenced counted class and can be safefly created on the stack. To support referenced counting a seperate subclass now exists, this is RefMatrix which inherits from both Matrix and Object.
This commit is contained in:
@@ -4,13 +4,6 @@
|
||||
// GNU Lesser General Public License (LGPL) version 2.1 as published
|
||||
// by the Free Software Foundation appearing in the file COPYING included in
|
||||
// this distribution.
|
||||
//
|
||||
// Licensees holding valid OpenSceneGraph Professional Licenses (OSGPL) may use
|
||||
// this file in accordance with the OpenSceneGraph Professional License
|
||||
// Agreement provided to you by OpenSceneGraph Professional Services.
|
||||
//
|
||||
// See http::/www.openscenegraph.org/licensing.html for details on and pricing
|
||||
// of the OpenSceneGraph Professional license.
|
||||
|
||||
|
||||
#ifndef OSG_NODE
|
||||
|
||||
Reference in New Issue
Block a user