mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
direct: Resolve missing import in Actor.
This commit is contained in:
parent
184901309e
commit
118ed131ca
@ -4,6 +4,7 @@ __all__ = ['Actor']
|
|||||||
|
|
||||||
from pandac.PandaModules import *
|
from pandac.PandaModules import *
|
||||||
from direct.showbase.DirectObject import DirectObject
|
from direct.showbase.DirectObject import DirectObject
|
||||||
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from pandac.PandaModules import LODNode
|
from pandac.PandaModules import LODNode
|
||||||
import types, copy
|
import types, copy
|
||||||
|
|
||||||
@ -12,7 +13,7 @@ class Actor(DirectObject, NodePath):
|
|||||||
Actor class: Contains methods for creating, manipulating
|
Actor class: Contains methods for creating, manipulating
|
||||||
and playing animations on characters
|
and playing animations on characters
|
||||||
"""
|
"""
|
||||||
notify = directNotify.newCategory("Actor")
|
notify = DirectNotifyGlobal.directNotify.newCategory("Actor")
|
||||||
partPrefix = "__Actor_"
|
partPrefix = "__Actor_"
|
||||||
|
|
||||||
modelLoaderOptions = LoaderOptions(LoaderOptions.LFSearch |
|
modelLoaderOptions = LoaderOptions(LoaderOptions.LFSearch |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user