* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024, #1122888, #1147084) * debian/control: - Lower build-depends on libavcodec-dev since we're not doing the libav9 transition in Ubuntu yet
struct Material *defmaterial; /* used by matcap now */
217
216
218
/* XXX deprecated? */
217
219
struct bGPdata *gpd DNA_DEPRECATED; /* Grease-Pencil Data (annotation layers) */
218
220
224
226
#define V3D_DISPBGPICS 2
225
227
#define V3D_HIDE_HELPLINES 4
226
228
#define V3D_INVALID_BACKBUF 8
229
#define V3D_INVALID_BACKBUF 8
227
230
228
231
#define V3D_ALIGN 1024
229
232
#define V3D_SELECT_OUTLINE 2048
260
263
/* View3d->flag2 (short) */
261
264
#define V3D_RENDER_OVERRIDE 4
262
265
#define V3D_SOLID_TEX 8
263
#define V3D_DISPGP 16
266
#define V3D_SHOW_GPENCIL 16
264
267
#define V3D_LOCK_CAMERA 32
265
#define V3D_RENDER_SHADOW 64 /* This is a runtime only flag that's used to tell draw_mesh_object() that we're doing a shadow pass instead of a regular draw */
266
#define V3D_SHOW_RECONSTRUCTION 128
268
#define V3D_RENDER_SHADOW 64 /* This is a runtime only flag that's used to tell draw_mesh_object() that we're doing a shadow pass instead of a regular draw */
269
#define V3D_SHOW_RECONSTRUCTION 128
267
270
#define V3D_SHOW_CAMERAPATH 256
268
271
#define V3D_SHOW_BUNDLENAME 512
272
#define V3D_BACKFACE_CULLING 1024
273
#define V3D_RENDER_BORDER 2048
274
#define V3D_SOLID_MATCAP 4096 /* user flag */
275
#define V3D_SHOW_SOLID_MATCAP 8192 /* runtime flag */
269
276
270
277
/* View3D->around */
271
278
#define V3D_CENTER 0
310
317
/* #define V3D_CALC_MANIPULATOR 4 */ /*UNUSED*/
311
318
312
319
/* BGPic->flag */
313
/* may want to use 1 for select ?*/
314
#define V3D_BGPIC_EXPANDED 2
315
#define V3D_BGPIC_CAMERACLIP 4
316
#define V3D_BGPIC_DISABLED 8
317
#define V3D_BGPIC_FOREGROUND 16
320
/* may want to use 1 for select ? */
321
enum {
322
V3D_BGPIC_EXPANDED = (1 << 1),
323
V3D_BGPIC_CAMERACLIP = (1 << 2),
324
V3D_BGPIC_DISABLED = (1 << 3),
325
V3D_BGPIC_FOREGROUND = (1 << 4),
326
327
/* Camera framing options */
328
V3D_BGPIC_CAMERA_ASPECT = (1 << 5), /* don't stretch to fit the camera view */
329
V3D_BGPIC_CAMERA_CROP = (1 << 6) /* crop out the image */