Blender Git Commit Log

Git Commits -> Revision ee5284f

Revision ee5284f by Mitchell Stokes (master)
May 8, 2014, 03:32 (GMT)
BGE: Dynamically-allocated action layers

This patch removes the limitations on the number of action layers in the BGE.

BL_ActionManager currently uses a fixed array to keep track of the action layers. This patch replaces the fixed array with a map which allows for dynamic allocation of action layers. Layers (map items) are automatically removed on BL_ActionManager's update function. The maximum number of layers is roughly the value of a short. Backwards functionality is maintained and there are no changes to the Python API.

Task Discussion:
https://developer.blender.org/T39572

Author: Kevin Ednalino

Reviewers: moguri

Differential Revision: https://developer.blender.org/D491

Commit Details:

Full Hash: ee5284faf6db96bb5029f6d2ab0b62336ef84e53
Parent Commit: 34bc1e5
Lines Changed: +87, -27

4 Modified Paths:

/source/blender/makesrna/intern/rna_actuator.c (+1, -1) (Diff)
/source/gameengine/Converter/BL_ActionActuator.cpp (+2, -1) (Diff)
/source/gameengine/Ketsji/BL_ActionManager.cpp (+64, -23) (Diff)
/source/gameengine/Ketsji/BL_ActionManager.h (+20, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021