mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
showbase: Fix redundant call to entry_points()
in Loader
This commit is contained in:
parent
5e4fc7999e
commit
ab0c177c79
@ -174,7 +174,7 @@ class Loader(DirectObject):
|
|||||||
if isinstance(eps, dict): # Python 3.8 and 3.9
|
if isinstance(eps, dict): # Python 3.8 and 3.9
|
||||||
loaders = eps.get('panda3d.loaders', ())
|
loaders = eps.get('panda3d.loaders', ())
|
||||||
else:
|
else:
|
||||||
loaders = entry_points().select(group='panda3d.loaders')
|
loaders = eps.select(group='panda3d.loaders')
|
||||||
else:
|
else:
|
||||||
import importlib
|
import importlib
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user