Skip to content

Commit

Permalink
Merge pull request assimp#4897 from assimp/kimkulling/ensure_initiali…
Browse files Browse the repository at this point in the history
…zer_exists

Ensure initializer exists
  • Loading branch information
kimkulling authored Jan 20, 2023
2 parents 43d3363 + 7ad36b8 commit bf57eef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/PostProcessing/LimitBoneWeightsProcess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

namespace Assimp {

// Make sure this value is set.
#ifndef AI_LMW_MAX_WEIGHTS
# define AI_LMW_MAX_WEIGHTS 16
#endif

// ------------------------------------------------------------------------------------------------
// Constructor to be privately used by Importer
LimitBoneWeightsProcess::LimitBoneWeightsProcess() : mMaxWeights(AI_LMW_MAX_WEIGHTS) {}
Expand Down

0 comments on commit bf57eef

Please sign in to comment.