mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -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):
|
def __init__(self, filename = None, animBundle = None):
|
||||||
self.filename = filename
|
self.filename = filename
|
||||||
self.animBundle = None
|
self.animBundle = animBundle
|
||||||
self.animControl = None
|
self.animControl = None
|
||||||
|
|
||||||
def makeCopy(self):
|
def makeCopy(self):
|
||||||
@ -1947,6 +1947,7 @@ class Actor(DirectObject, NodePath):
|
|||||||
animName = acc.getAnimName(i)
|
animName = acc.getAnimName(i)
|
||||||
|
|
||||||
animDef = Actor.AnimDef()
|
animDef = Actor.AnimDef()
|
||||||
|
animDef.animBundle = animControl.getAnim()
|
||||||
animDef.animControl = animControl
|
animDef.animControl = animControl
|
||||||
self.__animControlDict[lodName][partName][animName] = animDef
|
self.__animControlDict[lodName][partName][animName] = animDef
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ PUBLISHED:
|
|||||||
void offset_vertices(const GeomVertexData *data, int offset);
|
void offset_vertices(const GeomVertexData *data, int offset);
|
||||||
int make_nonindexed(bool composite_only);
|
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;
|
INLINE bool is_empty() const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user