Fix live wiresheet links and DOM structure to match .sax format
- Build root children directly under <app> instead of wrapping them in a <comp name="app"> element. This matches the .sax DOM structure where <app> is the container, so component paths like /AHU/TmpCont/X match between link references and get_component_path. - Fix _comp_path to produce /AHU/TmpCont/X format (skip root id 0, leading /) matching the .sax link path convention. - Format float property values to 4 decimal places instead of full Python float precision (22.0116 vs 22.011558532714844). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ so later rebinding would only ever be seen by the module that did it.
|
||||
import configparser
|
||||
import os
|
||||
|
||||
VERSION = "0.0.0.085"
|
||||
VERSION = "0.0.0.086"
|
||||
PROPERTIES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "editor.properties")
|
||||
DEFAULT_GRID_SIZE = 10
|
||||
DEFAULT_ADD_TIMESTAMP = True
|
||||
|
||||
Reference in New Issue
Block a user