H-uru / Plasma

Cyan Worlds's Plasma game engine
http://h-uru.github.io/Plasma/
GNU General Public License v3.0
203 stars 80 forks source link

Fix regression from #1428. #1451

Closed Hoikas closed 1 year ago

Hoikas commented 1 year ago

Fixes:

(08/06 18:14:26) cPythScope1 - Traceback (most recent call last):
(08/06 18:14:26)   File ".\python\ercaOvenScope.py", line 419, in OnGUINotify
(08/06 18:14:26)     timerWheel = control.getControlModFromTag(kTimerWheel)
(08/06 18:14:26) KeyError: 'TagID 500 not found in GUIDialog BakingRmGUI'

It looks like pfGUIProgressCtrl was never added to WhatControlType(), so any attempts to grab those kinds of value controls resulted in an error (eg in the Er'cana bakery). This fixes that problem and updates the "enum" in PlasmaTypes.py, which was even further behind than the C++.