Fix 3 bugs related to representations:

* Bug when switching representations when active object not selected.
 * Bug when switching to a non MODEL_VIEW body representation would load the MODEL_VIEW one instead all the time.
 * Add support for plan body representations.
This commit is contained in:
Dion Moult
2023-02-03 21:27:25 +11:00
parent 1ed7b21ab0
commit e1e4380fc7
3 changed files with 4 additions and 3 deletions
@@ -153,7 +153,7 @@ class Usecase:
elif self.settings["context"].ContextIdentifier == "Axis":
return self.create_curve2d_representation()
elif self.settings["context"].ContextIdentifier == "Body":
pass
return self.create_annotation2d_representation()
elif self.settings["context"].ContextIdentifier == "Box":
pass
elif self.settings["context"].ContextIdentifier == "Clearance":