Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_object_api.c
| Show First 20 Lines • Show All 317 Lines • ▼ Show 20 Lines | if (ELEM(to, CONSTRAINT_SPACE_POSE, CONSTRAINT_SPACE_PARLOCAL)) { | ||||
| BKE_reportf(reports, | BKE_reportf(reports, | ||||
| RPT_ERROR, | RPT_ERROR, | ||||
| "'to_space' '%s' is invalid when no pose bone is given!", | "'to_space' '%s' is invalid when no pose bone is given!", | ||||
| identifier); | identifier); | ||||
| return; | return; | ||||
| } | } | ||||
| } | } | ||||
| BKE_constraint_mat_convertspace(ob, pchan, (float(*)[4])mat_ret, from, to, false); | BKE_constraint_mat_convertspace(ob, pchan, (float(*)[4])mat_ret, from, to); | ||||
| } | } | ||||
| static void rna_Object_calc_matrix_camera(Object *ob, | static void rna_Object_calc_matrix_camera(Object *ob, | ||||
| Depsgraph *depsgraph, | Depsgraph *depsgraph, | ||||
| float mat_ret[16], | float mat_ret[16], | ||||
| int width, | int width, | ||||
| int height, | int height, | ||||
| float scalex, | float scalex, | ||||
| ▲ Show 20 Lines • Show All 861 Lines • Show Last 20 Lines | |||||