Blender Git Commit Log

Git Commits -> Revision 09139e4

Revision 09139e4 by Campbell Barton (master)
October 27, 2020, 07:45 (GMT)
Cleanup: simplify order of initialization with argument parsing

Sub-systems that use directories from BKE_appdir needed to be
initialized after parsing '--env-system-datafiles'.

This meant the animation player needed to call IMB_init it's self.

Avoid this complication by having a pass that can be used to setup
the environment before Blender's resources are accessed.

This reverts the workaround from 9ea345d1cf82f

Commit Details:

Full Hash: 09139e41ed4eaf4d9b8943e92b8604d979dbbc92
Parent Commit: eebe274
Lines Changed: +37, -26

2 Modified Paths:

/source/creator/creator.c (+13, -8) (Diff)
/source/creator/creator_args.c (+24, -18) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021