More tests and fixes for linking in models with different project norths

This commit is contained in:
Dion Moult
2024-07-07 23:59:13 +10:00
parent d00e60369b
commit a3844fe098
4 changed files with 83 additions and 12 deletions
@@ -1112,7 +1112,7 @@ except Exception as e:
data = json.load(f)
gprops = bpy.context.scene.BIMGeoreferenceProperties
for prop in ("model_origin", "blender_x_axis_abscissa", "blender_x_axis_ordinate"):
for prop in ("model_origin", "model_project_north"):
if (value := data.get(prop, None)) is not None:
setattr(gprops, prop, value)