mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 23:34:57 -04:00
NotifyPanel: Rename variable that shadows builtin (#1470)
This commit is contained in:
parent
316b8e96eb
commit
cd0eb27dc7
@ -128,12 +128,12 @@ class NotifyPanel:
|
|||||||
topCategory = Notify.ptr().getTopCategory()
|
topCategory = Notify.ptr().getTopCategory()
|
||||||
return self._getPandaCategories(topCategory)
|
return self._getPandaCategories(topCategory)
|
||||||
|
|
||||||
def _getPandaCategoriesAsList(self, pc, list):
|
def _getPandaCategoriesAsList(self, pc, catList):
|
||||||
for item in pc:
|
for item in pc:
|
||||||
if isinstance(item, list):
|
if isinstance(item, list):
|
||||||
self._getPandaCategoriesAsList(item, list)
|
self._getPandaCategoriesAsList(item, catList)
|
||||||
else:
|
else:
|
||||||
list.append(item)
|
catList.append(item)
|
||||||
|
|
||||||
def getPandaCategoriesAsList(self):
|
def getPandaCategoriesAsList(self):
|
||||||
pc = self.getPandaCategories()
|
pc = self.getPandaCategories()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user