Still cleaning up related to ownership histories. See #1399.

This commit is contained in:
Dion Moult
2021-03-25 16:32:43 +11:00
parent 489a248e9a
commit 6d641aaac1
6 changed files with 45 additions and 45 deletions
@@ -1,33 +1,13 @@
# import bpy
# import addon_utils
def get_person():
pass
def get_organisation():
pass
settings = {
"person": None,
"organisation": None,
"ApplicationIdentifier": "",
"ApplicationFullName": "",
"Version": "",
"ChangeAction": "NOTDEFINED",
}
# settings = {
# "person": file.by_id(int(bpy.context.scene.BIMOwnerProperties.user_person)),
# "organisation": file.by_id(int(bpy.context.scene.BIMOwnerProperties.user_organisation)),
# "ApplicationIdentifier": "BlenderBIM",
# "ApplicationFullName": "BlenderBIM Add-on",
# "Version": get_application_version(),
# }
#
#
# def get_application_version():
# return ".".join(
# [
# str(x)
# for x in [
# addon.bl_info.get("version", (-1, -1, -1))
# for addon in addon_utils.modules()
# if addon.bl_info["name"] == "BlenderBIM"
# ][0]
# ]
# )