提交 264a48c7 编写于 作者: U UfoXp

3DS MAX exporter dialog construction fix

1.  Dialog class pointer is no longer truncated.
2.  A bit of style uniformisation has been done.
上级 d91ddfdc
......@@ -317,7 +317,6 @@ namespace COLLADAMax
//---------------------------------------------------------------
void GeometryExporter::doExportMesh()
{
if( !mMorphControllerHelperGeometry && !(mExportNode->getIsInVisualScene() || mExportNode->getIsReferenced()) )
return;
......
......@@ -552,7 +552,7 @@ namespace COLLADAMax
#ifdef MAX_2018_OR_NEWER
IParamBlock2 * paramBlock = ( ( SimpleObject2 * ) mObject ) ->GetParamBlock(0);
#else
IParamBlock2 * paramBlock = ((SimpleObject2 *)mObject)->pblock2;
IParamBlock2 * paramBlock = ( ( SimpleObject2 * ) mObject ) ->pblock2;
#endif
addParamBlockAnimatedExtraParameters(elementName, extraParameters, extraParametersCount, paramBlock, mGeometryId);
}
......
......@@ -288,7 +288,7 @@ namespace COLLADAMax
{
// record exp instance pointer for subsequent callbacks
exp = (Options*) lParam;
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)lParam);
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)lParam);
}
else
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册