Added the file extension to the viewpoint guid comparison

This commit is contained in:
Fernando Gussão Bellon
2025-09-16 23:36:07 -03:00
committed by Dion Moult
parent 8722350c0b
commit 53def55dc9
+1 -1
View File
@@ -1215,7 +1215,7 @@ class ActivateBcfViewpoint(bpy.types.Operator):
assert blender_topic
topic = bcfxml.topics[blender_topic.name]
if self.viewpoint_guid:
viewpoint_guid = self.viewpoint_guid
viewpoint_guid = self.viewpoint_guid + ".bcfv"
if viewpoint_guid not in topic.viewpoints:
self.report({"ERROR"}, f"No such viewpoint in the active topic: '{viewpoint_guid}'.")
return {"CANCELLED"}