2025.6.1
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/***********************************************************************************************************************
|
||||
*
|
||||
* Copyright (c) 2010 - 2022 by Tech Soft 3D, Inc.
|
||||
* Copyright (c) 2010 - 2025 by Tech Soft 3D, Inc.
|
||||
* The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., and considered a trade secret
|
||||
* as defined under civil and criminal statutes. Tech Soft 3D shall pursue its civil and criminal remedies in the event
|
||||
* of unauthorized use or misappropriation of its trade secrets. Use of this information by anyone other than authorized
|
||||
@@ -23,15 +23,15 @@ Shared definition of all different set of targets used in all animations
|
||||
|
||||
|
||||
A3DStatus AddTarget(A3DPDFTargetEntity**& ppTargets, int& idxTarget,
|
||||
A3DAsmModelFile* pModelFile, A3DUTF8Char *pcName, int iIndexRepItem)
|
||||
A3DAsmModelFile* pModelFile, const A3DUTF8Char *pcName, int iIndexRepItem)
|
||||
{
|
||||
A3DPDFTargetEntity*** ppTargetEntities;
|
||||
A3DInt32 *piSizes;
|
||||
A3DUTF8Char *apcNames[1];
|
||||
const A3DUTF8Char *apcNames[1];
|
||||
apcNames[0] = pcName;
|
||||
A3DInt32 aiIndexes[1];
|
||||
aiIndexes[0] = iIndexRepItem;
|
||||
A3DPDFGetEntitiesFromName(pModelFile, (A3DInt32)1, apcNames, aiIndexes, &ppTargetEntities, &piSizes);
|
||||
A3DPDFGetEntitiesFromName(pModelFile, (A3DInt32)1, const_cast<A3DUTF8Char**>(apcNames), aiIndexes, &ppTargetEntities, &piSizes);
|
||||
if (piSizes==0)
|
||||
return A3D_ERROR;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user