Blender Git Commit Log

Git Commits -> Revision ca66112

Revision ca66112 by Antonis Ryakiotakis (master)
April 27, 2018, 14:10 (GMT)
Fix missing icons in non-portable local builds.

The problem is that some local path is always returned by
bpy_resource_path. The function does not enforce a check for existence
of the path in the low level code.

Since client code may indeed not care about existence of the directory,
I leave bpy_resource_path alone and patch the python code to check for
existence. An extra argument that enforces the check might be a better
solution, but I will be leaving this to the UI team.

Commit Details:

Full Hash: ca66112b2967164a38103fb1a6885f44fe86a45a
Parent Commit: c6d6891
Lines Changed: +1, -1

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021