diff --git a/panda/src/egg/eggData.h b/panda/src/egg/eggData.h index ad5d3a9917..0352de17e3 100644 --- a/panda/src/egg/eggData.h +++ b/panda/src/egg/eggData.h @@ -68,6 +68,12 @@ PUBLISHED: INLINE void set_egg_timestamp(time_t egg_timestamp); INLINE time_t get_egg_timestamp() const; + MAKE_PROPERTY(auto_resolve_externals, get_auto_resolve_externals, + set_auto_resolve_externals); + MAKE_PROPERTY(coordinate_system, get_coordinate_system, set_coordinate_system); + MAKE_PROPERTY(egg_filename, get_egg_filename, set_egg_filename); + MAKE_PROPERTY(egg_timestamp, get_egg_timestamp, set_egg_timestamp); + INLINE void recompute_vertex_normals(double threshold); INLINE void recompute_polygon_normals(); INLINE void strip_normals(); diff --git a/panda/src/egg/eggGroupNode.h b/panda/src/egg/eggGroupNode.h index 346c2ed817..8bbf48aea0 100644 --- a/panda/src/egg/eggGroupNode.h +++ b/panda/src/egg/eggGroupNode.h @@ -109,6 +109,7 @@ PUBLISHED: EggNode *get_next_child(); EXTENSION(PyObject *get_children() const); + MAKE_PROPERTY(children, get_children); EggNode *add_child(EggNode *node); PT(EggNode) remove_child(EggNode *node); diff --git a/panda/src/egg/eggNode.h b/panda/src/egg/eggNode.h index c2d811859e..950ae5e257 100644 --- a/panda/src/egg/eggNode.h +++ b/panda/src/egg/eggNode.h @@ -44,6 +44,9 @@ PUBLISHED: INLINE bool is_under_transform() const; INLINE bool is_local_coord() const; + MAKE_PROPERTY(parent, get_parent); + MAKE_PROPERTY(depth, get_depth); + INLINE const LMatrix4d &get_vertex_frame() const; INLINE const LMatrix4d &get_node_frame() const; INLINE const LMatrix4d &get_vertex_frame_inv() const; @@ -51,12 +54,12 @@ PUBLISHED: INLINE const LMatrix4d &get_vertex_to_node() const; INLINE const LMatrix4d &get_node_to_vertex() const; - INLINE const LMatrix4d *get_vertex_frame_ptr()const; - INLINE const LMatrix4d *get_node_frame_ptr()const; - INLINE const LMatrix4d *get_vertex_frame_inv_ptr()const; - INLINE const LMatrix4d *get_node_frame_inv_ptr()const; - INLINE const LMatrix4d *get_vertex_to_node_ptr()const; - INLINE const LMatrix4d *get_node_to_vertex_ptr()const; + INLINE const LMatrix4d *get_vertex_frame_ptr() const; + INLINE const LMatrix4d *get_node_frame_ptr() const; + INLINE const LMatrix4d *get_vertex_frame_inv_ptr() const; + INLINE const LMatrix4d *get_node_frame_inv_ptr() const; + INLINE const LMatrix4d *get_vertex_to_node_ptr() const; + INLINE const LMatrix4d *get_node_to_vertex_ptr() const; INLINE void transform(const LMatrix4d &mat); INLINE void transform_vertices_only(const LMatrix4d &mat);