From 30954ec397c9b91fd5167a08ec1f58c939b50211 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 27 Aug 2012 18:24:06 +0200 Subject: [PATCH] Changed: #1440 Additional superclass dummies --HG-- branch : build_pipeline_v3 --- code/nel/tools/pipeline/max/builtin/builtin.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/nel/tools/pipeline/max/builtin/builtin.cpp b/code/nel/tools/pipeline/max/builtin/builtin.cpp index 5d5f6163c..344caf6df 100644 --- a/code/nel/tools/pipeline/max/builtin/builtin.cpp +++ b/code/nel/tools/pipeline/max/builtin/builtin.cpp @@ -205,6 +205,14 @@ const CUserDataTypeSuperClassDesc UserDataTypeSuperClassDesc(&ReferenceTargetCla typedef CSuperClassDescUnknown CUserTypeSuperClassDesc; const CUserTypeSuperClassDesc UserTypeSuperClassDesc(&ReferenceTargetClassDesc, "UserTypeSuperClassUnknown"); +// 0x40 - shape object +typedef CSuperClassDescUnknown CShapeObjectSuperClassDesc; +const CShapeObjectSuperClassDesc ShapeObjectSuperClassDesc(&GeomObjectClassDesc, "ShapeObjectSuperClassUnknown"); + +// 0x30 - light object +typedef CSuperClassDescUnknown CLightObjectSuperClassDesc; +const CLightObjectSuperClassDesc LightObjectSuperClassDesc(&ObjectClassDesc, "LightObjectSuperClassUnknown"); + } /* anonymous namespace */ CBuiltin::CBuiltin() @@ -299,6 +307,8 @@ void CBuiltin::registerClasses(CSceneClassRegistry *registry) registry->add(&ControlPoint4SuperClassDesc); registry->add(&UserDataTypeSuperClassDesc); registry->add(&UserTypeSuperClassDesc); + registry->add(&ShapeObjectSuperClassDesc); + registry->add(&LightObjectSuperClassDesc); } } /* namespace BUILTIN */