Blender Git Commit Log
Git Commits -> Revision e9d621e
Revision e9d621e by Nathan Craddock (soc-2020-outliner) June 6, 2020, 17:03 (GMT) |
Outliner: Use outliner_item_select for activation Use outliner_item_select for outliner activation. This is used in a few places so far and could easily be extended to other operators. outliner_item_select takes 3 booleans, select, activate, and extend and properly sets the TSE_SELECTED and TSE_ACTIVE flags based on the bools. Future commits will move other selection and activation logic to be in this function. No functional changes. Separate the mode toggling logic from the item activation code because these are distinct behaviors. This will make later changes easier to make, and also makes it possible to activate on walk select without toggling modes. Also rename functions to make purpose more clear. |
Commit Details:
Full Hash: e9d621e16e2c8f4096a893b3a38cbdbb04e1f8b1
Parent Commit: 3eea51f
Lines Changed: +129, -97