Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/mask.c
| Context not available. | |||||
| #include <stddef.h> | #include <stddef.h> | ||||
| #include <string.h> | #include <string.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 "DEG_depsgraph_build.h" | #include "DEG_depsgraph_build.h" | ||||
| static CLG_LogRef LOG = { "bke.mask" }; | |||||
| static struct { | static struct { | ||||
| ListBase splines; | ListBase splines; | ||||
| struct GHash *id_hash; | struct GHash *id_hash; | ||||
| Context not available. | |||||
| } | } | ||||
| } | } | ||||
| else { | else { | ||||
| printf("%s: vert mismatch %d != %d (frame %d)\n", | CLOG_ERROR(&LOG, "vert mismatch %d != %d (frame %d)", | ||||
| __func__, masklay_shape->tot_vert, tot, masklay_shape->frame); | masklay_shape->tot_vert, tot, masklay_shape->frame); | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||
| } | } | ||||
| } | } | ||||
| else { | else { | ||||
| printf("%s: vert mismatch %d != %d (frame %d)\n", | CLOG_ERROR(&LOG, "vert mismatch %d != %d (frame %d)", | ||||
| __func__, masklay_shape->tot_vert, tot, masklay_shape->frame); | masklay_shape->tot_vert, tot, masklay_shape->frame); | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||
| } | } | ||||
| } | } | ||||
| else { | else { | ||||
| printf("%s: vert mismatch %d != %d != %d (frame %d - %d)\n", | CLOG_ERROR(&LOG, "vert mismatch %d != %d != %d (frame %d - %d)", | ||||
| __func__, masklay_shape_a->tot_vert, masklay_shape_b->tot_vert, tot, | masklay_shape_a->tot_vert, masklay_shape_b->tot_vert, tot, | ||||
| masklay_shape_a->frame, masklay_shape_b->frame); | masklay_shape_a->frame, masklay_shape_b->frame); | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||
| masklay_shape->data = data_resized; | masklay_shape->data = data_resized; | ||||
| } | } | ||||
| else { | else { | ||||
| printf("%s: vert mismatch %d != %d (frame %d)\n", | CLOG_ERROR(&LOG, "vert mismatch %d != %d (frame %d)", | ||||
| __func__, masklay_shape->tot_vert, tot, masklay_shape->frame); | masklay_shape->tot_vert, tot, masklay_shape->frame); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||
| masklay_shape->data = data_resized; | masklay_shape->data = data_resized; | ||||
| } | } | ||||
| else { | else { | ||||
| printf("%s: vert mismatch %d != %d (frame %d)\n", | CLOG_ERROR(&LOG, "vert mismatch %d != %d (frame %d)", | ||||
| __func__, masklay_shape->tot_vert - count, tot, masklay_shape->frame); | masklay_shape->tot_vert - count, tot, masklay_shape->frame); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||