mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
Merge branch 'release/1.10.x'
This commit is contained in:
commit
36e1b66349
@ -67,7 +67,7 @@ class Actor(DirectObject, NodePath):
|
||||
|
||||
def __init__(self, filename = None, animBundle = None):
|
||||
self.filename = filename
|
||||
self.animBundle = None
|
||||
self.animBundle = animBundle
|
||||
self.animControl = None
|
||||
|
||||
def makeCopy(self):
|
||||
@ -1947,6 +1947,7 @@ class Actor(DirectObject, NodePath):
|
||||
animName = acc.getAnimName(i)
|
||||
|
||||
animDef = Actor.AnimDef()
|
||||
animDef.animBundle = animControl.getAnim()
|
||||
animDef.animControl = animControl
|
||||
self.__animControlDict[lodName][partName][animName] = animDef
|
||||
|
||||
|
@ -85,7 +85,7 @@ PUBLISHED:
|
||||
void offset_vertices(const GeomVertexData *data, int offset);
|
||||
int make_nonindexed(bool composite_only);
|
||||
|
||||
CPT(GeomVertexData) get_animated_vertex_data(bool force, Thread *current_thread) const;
|
||||
CPT(GeomVertexData) get_animated_vertex_data(bool force, Thread *current_thread = Thread::get_current_thread()) const;
|
||||
|
||||
INLINE bool is_empty() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user