From 1b31d63ef9e0f391b0fc32fc1325e518b45a4e8d Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 6 Oct 2004 20:01:34 +0000 Subject: [PATCH] report maya version --- pandatool/src/maya/mayaApi.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pandatool/src/maya/mayaApi.cxx b/pandatool/src/maya/mayaApi.cxx index fa7188850e..7824721f72 100644 --- a/pandatool/src/maya/mayaApi.cxx +++ b/pandatool/src/maya/mayaApi.cxx @@ -156,6 +156,12 @@ open_api(string program_name) { } _global_api = new MayaApi(program_name); + + if (maya_cat.is_debug()) { + maya_cat.debug() + << "Using Maya library version " << MGlobal::mayaVersion().asChar() + << ".\n"; + } } return _global_api;