50 if (mpath ==
nullptr) {
71 if (mpath ==
nullptr) {
88 if (mpath_src ==
nullptr) {
114 if (
ELEM(
nullptr, scene, ob)) {
134 "Motion path frame extents invalid for %s (%d to %d)%s",
148 if (*dst !=
nullptr) {
155 mpath->
flag &= ~MOTIONPATH_FLAG_BAKE_CAMERA;
176 mpath->
length = expected_length;
182 mpath->
flag &= ~MOTIONPATH_FLAG_BHEAD;
189 mpath->
flag &= ~MOTIONPATH_FLAG_BAKE_CAMERA;
193 mpath->
color[0] = 1.0;
194 mpath->
color[1] = 0.0;
195 mpath->
color[2] = 0.0;
217 if (mpath ==
nullptr) {
231 if (mpath ==
nullptr) {
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
#define BLO_write_struct(writer, struct_name, data_ptr)
#define BLO_write_struct_array(writer, struct_name, array_size, data_ptr)
#define BLO_read_struct_array(reader, struct_name, array_size, ptr_p)
@ MOTIONPATH_BAKE_CAMERA_SPACE
@ MOTIONPATH_BAKE_HAS_PATHS
@ MOTIONPATH_FLAG_BAKE_CAMERA
Object is a sort of wrapper for general info.
#define GPU_BATCH_DISCARD_SAFE(batch)
#define GPU_VERTBUF_DISCARD_SAFE(verts)
Read Guarded memory(de)allocation.
void animviz_settings_init(bAnimVizSettings *avs)
void animviz_free_motionpath_cache(bMotionPath *mpath)
void animviz_motionpath_blend_read_data(BlendDataReader *reader, bMotionPath *mpath)
bMotionPath * animviz_verify_motionpaths(ReportList *reports, Scene *scene, Object *ob, bPoseChannel *pchan)
bMotionPath * animviz_copy_motionpath(const bMotionPath *mpath_src)
void animviz_motionpath_blend_write(BlendWriter *writer, bMotionPath *mpath)
void animviz_free_motionpath(bMotionPath *mpath)
void MEM_freeN(void *vmemh)
void *(* MEM_callocN)(size_t len, const char *str)
void *(* MEM_dupallocN)(const void *vmemh)
GPUBatchHandle * batch_line
GPUVertBufHandle * points_vbo
GPUBatchHandle * batch_points