commit
161cdd4038
|
@ -377,9 +377,9 @@ struct aiAnimation {
|
||||||
: mDuration(-1.)
|
: mDuration(-1.)
|
||||||
, mTicksPerSecond(0.)
|
, mTicksPerSecond(0.)
|
||||||
, mNumChannels(0)
|
, mNumChannels(0)
|
||||||
, mChannels(nullptr)
|
, mChannels(NULL)
|
||||||
, mNumMeshChannels(0)
|
, mNumMeshChannels(0)
|
||||||
, mMeshChannels(nullptr) {
|
, mMeshChannels(NULL) {
|
||||||
// empty
|
// empty
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -187,7 +187,7 @@ struct aiMetadata {
|
||||||
static inline
|
static inline
|
||||||
aiMetadata *Alloc( unsigned int numProperties ) {
|
aiMetadata *Alloc( unsigned int numProperties ) {
|
||||||
if ( 0 == numProperties ) {
|
if ( 0 == numProperties ) {
|
||||||
return nullptr;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
aiMetadata *data = new aiMetadata;
|
aiMetadata *data = new aiMetadata;
|
||||||
|
|
Loading…
Reference in New Issue