Removes custom code added for sketchfab channel compression that should not be there
This commit is contained in:
parent
9fc63d7613
commit
66eeabd7d0
@ -240,16 +240,6 @@ static void addJSONChannel(osgAnimation::Channel* channel, JSONObject& anim, Wri
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef USE_COMPRESSED_CHANNELS
|
||||
{
|
||||
osgAnimation::Vec3usLinearChannel* c = dynamic_cast<osgAnimation::Vec3usLinearChannel*>(channel);
|
||||
if (c) {
|
||||
if (addJSONChannel<osgAnimation::Vec3usLinearChannel>("osgAnimation.Vec3LerpChannelCompressed", c, true, anim, writer, parent))
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
{
|
||||
osgAnimation::QuatSphericalLinearChannel* c = dynamic_cast<osgAnimation::QuatSphericalLinearChannel*>(channel);
|
||||
if (c) {
|
||||
@ -258,16 +248,6 @@ static void addJSONChannel(osgAnimation::Channel* channel, JSONObject& anim, Wri
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef USE_COMPRESSED_CHANNELS
|
||||
{
|
||||
osgAnimation::Vec3usSphericalLinearChannel* c = dynamic_cast<osgAnimation::Vec3usSphericalLinearChannel*>(channel);
|
||||
if (c) {
|
||||
if (addJSONChannel<osgAnimation::Vec3usSphericalLinearChannel>("osgAnimation.QuatSlerpChannelCompressed", c, true, anim, writer, parent))
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
{
|
||||
osgAnimation::FloatCubicBezierChannel* c = dynamic_cast<osgAnimation::FloatCubicBezierChannel*>(channel);
|
||||
if (c) {
|
||||
|
@ -16,10 +16,6 @@ SET(TARGET_H
|
||||
WriteVisitor
|
||||
)
|
||||
|
||||
IF($ENV{SKETCHFAB_BUILD})
|
||||
ADD_DEFINITIONS(-DUSE_COMPRESSED_CHANNELS)
|
||||
ENDIF()
|
||||
|
||||
#### end var setup ###
|
||||
SET(TARGET_ADDED_LIBRARIES
|
||||
osgAnimation
|
||||
|
Loading…
Reference in New Issue
Block a user