Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/nla.c
| Context not available. | |||||
| #include <math.h> | #include <math.h> | ||||
| #include <float.h> | #include <float.h> | ||||
| #include "CLG_log.h" | |||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| Context not available. | |||||
| #include "RNA_access.h" | #include "RNA_access.h" | ||||
| #include "nla_private.h" | #include "nla_private.h" | ||||
| static CLG_LogRef LOG = { "bke.nla" }; | |||||
| /* *************************************************** */ | /* *************************************************** */ | ||||
| /* Data Management */ | /* Data Management */ | ||||
| Context not available. | |||||
| /* sanity check */ | /* sanity check */ | ||||
| if (ELEM(NULL, adt, adt->action)) { | if (ELEM(NULL, adt, adt->action)) { | ||||
| printf("%s: Invalid argument - %p %p\n", __func__, adt, adt->action); | CLOG_ERROR(&LOG, "Invalid argument - %p %p", adt, adt->action); | ||||
| return false; | return false; | ||||
| } | } | ||||
| Context not available. | |||||
| */ | */ | ||||
| /* TODO: what about modifiers? */ | /* TODO: what about modifiers? */ | ||||
| if (action_has_motion(adt->action) == 0) { | if (action_has_motion(adt->action) == 0) { | ||||
| printf("BKE_nla_action_pushdown(): action has no data\n"); | CLOG_ERROR(&LOG, "action has no data"); | ||||
| return; | return; | ||||
| } | } | ||||
| Context not available. | |||||