Fix #5845. Allow non GRAPH_VIEW reference representations. Apparently it's a thing in the docs.

If anybody can explain to me how Reference is meant to be used (the
example in the docs is really ambiguous) please do :)
This commit is contained in:
Dion Moult
2025-02-18 20:45:05 +11:00
parent 7ca2c043b5
commit 37baa7a57b
@@ -204,6 +204,7 @@ class Usecase:
elif self.settings["context"].ContextIdentifier == "Reference":
if self.settings["context"].TargetView == "GRAPH_VIEW":
return self.create_structural_reference_representation()
return self.create_variable_representation()
elif self.settings["context"].ContextIdentifier == "Profile":
return self.create_curve3d_representation()
elif self.settings["context"].ContextIdentifier == "SurveyPoints":