Universite-Gustave-Eiffel / I-Simpa

An Open Source software for 3D sound propagation modelling
https://i-simpa.univ-gustave-eiffel.fr/
GNU General Public License v3.0
238 stars 57 forks source link

Problems with pop menu on Orientation point and Position for punctual receviers #261

Closed Picaut closed 3 years ago

Picaut commented 3 years ago

Describe the bug The "Link to the source" option on "Orientation point" for a punctual sound source not working Additionally, there is an unwanted option on "Position", called "Please choose the source".

To Reproduce Steps to reproduce the behavior:

  1. Select an punctual receiver
  2. Right click on "Position" or "Orientation point" to see the option

Expected behavior Selection a source for orienting the receiver No "Please choose the source" on "Position"

Screenshots See screenshots

Desktop (please complete the following information): See 'About I-Simpa' for the Version and build

Additional context

image

image

nicolas-f commented 3 years ago
Traceback (most recent call last):
  File "C:\Program Files\I-SIMPA\SystemScript\preceiv_sourceTracker\__init__.py", line 158, in LinkWithSourcePosition
    selected_sourceid=self.AskUserToSelectASource()
  File "C:\Program Files\I-SIMPA\SystemScript\preceiv_sourceTracker\__init__.py", line 139, in AskUserToSelectASource
    srcLst.sort()
AttributeError: 'dict_keys' object has no attribute 'sort'

Python 3 issue. Have to fix the script

Picaut commented 3 years ago

Is-it done?

nicolas-f commented 3 years ago

yes