freebsd-ports/devel/collada-dom/files/patch-dom_src_dae_daeDom.cpp
Kurt Jaeger 239a6c9ead New port: devel/collada-dom
A C++ library that provides an API to the COLLADA Document Object Model

The COLLADA Document Object Model (DOM) is an application programming
interface (API) that provides a C++ object representation of a COLLADA
XML instance document.

This project is a library for loading and saving COLLADA documents
that can contain 2D, 3D, physics and other types of content. It allows
developers to create applications that can exchange COLLADA documents
with commercial content creation tools such as Maya, Max or Softimage.

This project is a very lightweight version of the Sourceforce Collada
Repository. It maintains only the base collada parser with minimal
dependencies.

WWW: https://github.com/rdiankov/collada-dom

PR:		240635
Submitted by:	Trenton Schulz <trueos@norwegianrockcat.com>
2019-09-22 08:30:26 +00:00

29 lines
698 B
C++

--- dom/src/dae/daeDom.cpp.orig 2019-05-09 19:35:00 UTC
+++ dom/src/dae/daeDom.cpp
@@ -111,7 +111,7 @@ daeInt getDomAnyID(DAE& dae)
return ColladaDOM141::domAny::ID();
}
#endif
- return NULL;
+ return 0;
}
daeInt getDomSourceID(DAE& dae)
@@ -126,7 +126,7 @@ daeInt getDomSourceID(DAE& dae)
return ColladaDOM141::domSource::ID();
}
#endif
- return NULL;
+ return 0;
}
daeInt getDomCOLLADAID(const char* specversion)
@@ -141,7 +141,7 @@ daeInt getDomCOLLADAID(const char* specversion)
return ColladaDOM141::domCOLLADA::ID();
}
#endif
- return NULL;
+ return 0;
}
void copyElementAny(daeElementRef dstAny, daeElement* srcAny)