From be13907577ae504daa91f3c21c0e96c283dc422b Mon Sep 17 00:00:00 2001 From: David Rose Date: Sat, 15 Jan 2005 00:16:36 +0000 Subject: [PATCH] Ask Maya to use the new interface, which more people these days are likely to have installed. --- pandatool/src/mayaprogs/mayaSavePview.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pandatool/src/mayaprogs/mayaSavePview.h b/pandatool/src/mayaprogs/mayaSavePview.h index bde115dca3..0a1f104b61 100644 --- a/pandatool/src/mayaprogs/mayaSavePview.h +++ b/pandatool/src/mayaprogs/mayaSavePview.h @@ -19,11 +19,20 @@ #ifndef MAYASAVEPVIEW_H #define MAYASAVEPVIEW_H +// We don't want to include pre_maya_include.h here, since that would +// necessitate linking with Pandatool's libmaya.dll, which would in +// turn bring in a lot of stuff from panda that we don't really need. +// Instead, we'll just define the Maya symbols we require here. + // Maya will try to typedef bool unless this symbol is defined. #ifndef _BOOL #define _BOOL 1 #endif +// This will ask Maya 5.0 or better to use the new library +// instead of the old library. +#define REQUIRE_IOSTREAM + #include #include #include