Python API Docs: update for using git buildinfo and change upload URL
This commit is contained in:
@@ -384,12 +384,12 @@ MODULE_GROUPING = {
|
||||
blender_version_strings = [str(v) for v in bpy.app.version]
|
||||
|
||||
# converting bytes to strings, due to #30154
|
||||
BLENDER_REVISION = str(bpy.app.build_revision, 'utf_8')
|
||||
BLENDER_REVISION = str(bpy.app.build_hash, 'utf_8')
|
||||
BLENDER_DATE = str(bpy.app.build_date, 'utf_8')
|
||||
|
||||
BLENDER_VERSION_DOTS = ".".join(blender_version_strings) # '2.62.1'
|
||||
if BLENDER_REVISION != "Unknown":
|
||||
BLENDER_VERSION_DOTS += " r" + BLENDER_REVISION # '2.62.1 r44584'
|
||||
BLENDER_VERSION_DOTS += " " + BLENDER_REVISION # '2.62.1 SHA1'
|
||||
|
||||
BLENDER_VERSION_PATH = "_".join(blender_version_strings) # '2_62_1'
|
||||
if bpy.app.version_cycle == "release":
|
||||
|
||||
Reference in New Issue
Block a user