Skip to content

Commit

Permalink
Merge pull request #70 from ZEISS/20241205-fix-osmmapdiagram
Browse files Browse the repository at this point in the history
  • Loading branch information
mprinkezs authored Dec 5, 2024
2 parents e205e15 + 6764114 commit 3e2e102
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
* Software Version
* ZEISS INSPECT 2025

## Released at 2024-09-30 (v1.0.0)
## Released at 2024-12-13 (v1.0.0)

* Initial release
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,6 @@ def dialog(context, params):
DIALOG.en_alt.value = params['en_alt']
if 'alt' in params:
DIALOG.alt.value = params['alt']
if 'range' in params:
DIALOG.range.value = params['range']
if 'aspect' in params:
DIALOG.aspect.value = params['aspect']

# Get previous element name, when started from "Edit creation"
if len(params) > 0:
Expand Down Expand Up @@ -506,8 +502,6 @@ def dialog_event_handler(widget):
params['lon'] = DIALOG.lon.value
params['en_alt'] = DIALOG.en_alt.value
params['alt'] = DIALOG.alt.value
params['range'] = DIALOG.range.value
params['aspect'] = DIALOG.aspect.value

context.name = DIALOG.name.value
DIALOG.element.filter = lambda elem: not getattr(elem, "user_GPSLongitude", None) is None and not getattr(elem, "user_GPSLatitude", None) is None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def meters_to_deg(dist):
@apifunction
def geolocation(view, element_data)->str:
gom.log.info('Geolocation Service')
gom.log.info(f'{view=}, {elements=}')
gom.log.info(f'{view=}, {element_data=}')
request = cimgt.OSM()

# Find bounding box
Expand Down

0 comments on commit 3e2e102

Please sign in to comment.