webots
webots copied to clipboard
Controller's `edit` button does not open the source being actually used
Describe the Bug
Recently, python controllers for all devices have been added on top of the C ones. Although removing the binary results in the python counterpart to be used instead (correctly so), when clicking the edit button, it is nonetheless the .c source that is opened in the editor even though it's the python one being run.
Having these python versions is very useful for new users, but unless the users can at least open it in the editor they're pretty much invisible. At the very least, the editor should open the version currently being loaded when running the simulation.
Other ways of making these alternative controllers visible would be a plus.