Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_snap_object.c
| Context not available. | |||||
| ray_depth, dist_px, | ray_depth, dist_px, | ||||
| r_loc, r_no); | r_loc, r_no); | ||||
| } | } | ||||
| else if (ob->type == OB_GPENCIL) { | |||||
| retval = snapEmpty( | |||||
| snapdata, | |||||
| ob, obmat, | |||||
| ray_depth, dist_px, | |||||
| r_loc, r_no); | |||||
| } | |||||
| else if (ob->type == OB_CAMERA) { | else if (ob->type == OB_CAMERA) { | ||||
| retval = snapCamera( | retval = snapCamera( | ||||
| sctx, snapdata, ob, obmat, | sctx, snapdata, ob, obmat, | ||||
| Context not available. | |||||