Blender Git Commit Log

Git Commits -> Revision 1d97e94

Revision 1d97e94 by Bastien Montagne (master)
June 5, 2018, 14:33 (GMT)
Cleanup: add hleper functions to get filepath from Main.

This helps making things clearer and cleaner. Func returning filepath of
G.main is separate, so that we can easily track its usages, and
hopefully deprecate it at some point. Though that usage of G.main is
likely the less evil one, you nearly always want current blendfile path
in those cases anyway.

Commit Details:

Full Hash: 1d97e948d2c4867306e7fb5ce5fccf8b72c13391
Parent Commit: c68429b
Lines Changed: +23, -2

2 Modified Paths:

/source/blender/blenkernel/BKE_library.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+20, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021