Bug #1387

Wrong includes in some max plugins

Added by Krolock almost 7 years ago. Updated over 6 years ago.

Status:Patched Start date:11/01/2011
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Tools: Build Gamedata
Target version:Version 0.9.0

Description

3ds max 2012 changed in huge amount the include file and folder structure. Hence, the max plagins had to be adopted to support also 3ds max SDK 2012. Unfortunately a wrong include of the file functions.h changed the source code in that way, someone doesn't receive any compiler error. But using the plugins in 3ds max does not export the c++ coded functions to max script. Max script throws an error: function or object undefined.

The added patch fixes the source code to the right include and all plugins work as expected

max_plugins.patch (1.7 kB) Magnifier Krolock, 11/01/2011 01:32 pm

History

#1 Updated by kaetemi over 6 years ago

  • Status changed from New to Patched

If it doesn't compile anymore, then complain.

#2 Updated by kervala over 6 years ago

Is this patch compatible with previous 3dsmax versions ?

If not, couldn't we use some defines to check MAXSDK and use right includes ?

#3 Updated by kaetemi over 6 years ago

@kervala: It already does that.

#4 Updated by kervala over 6 years ago

kaetemi wrote:

@kervala: It already does that.

Ah yes, you're right :) Sorry.

Also available in: Atom PDF