Closed andrea-bistacchi closed 2 years ago
Fixed. For some reason the action "import Point Cloud" was missing from the project_window.ui file.
Are you syncing on GitHub also the GUI files modified with Qt Designer?
With this fix yes. In one of the very first pushes of the festure_PCDom branch I added the qaction directly in the code without using the qtdesigner so the .UI file was not up to date.
Ok let's keep the Designer file in sync.
after the last commit I have a bug at this line in project_window.py.
Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm 2020.1.3\plugins\python\helpers\pydev\pydevd.py", line 1491, in _exec pydev_imports.execfile(file, globals, locals) # execute the script File "C:\Program Files\JetBrains\PyCharm 2020.1.3\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "D:/_REPOS/PZero/pzero.py", line 7, in
project_window = ProjectWindow()
File "D:_REPOS\PZero\pzero\project_window.py", line 129, in init
self.actionImportPC.triggered.connect(self.import_PC)
AttributeError: 'ProjectWindow' object has no attribute 'actionImportPC'``