~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/makesdna/DNA_view3d_types.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* 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

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
struct RenderInfo;
45
45
struct RenderEngine;
46
46
struct bGPdata;
47
 
struct SmoothViewStore;
 
47
struct SmoothView3DStore;
48
48
struct wmTimer;
 
49
struct Material;
49
50
 
50
51
/* This is needed to not let VC choke on near and far... old
51
52
 * proprietary MS extensions... */
108
109
        struct ViewDepths *depths;
109
110
 
110
111
        /* animated smooth view */
111
 
        struct SmoothViewStore *sms;
 
112
        struct SmoothView3DStore *sms;
112
113
        struct wmTimer *smooth_timer;
113
114
 
114
115
 
133
134
        short rflag;
134
135
        
135
136
 
136
 
        /* last view */
 
137
        /* last view (use when switching out of camera view) */
137
138
        float lviewquat[4];
138
139
        short lpersp, lview; /* lpersp can never be set to 'RV3D_CAMOB' */
 
140
 
139
141
        float gridview;
140
 
        
141
142
        float twangle[3];
142
143
 
143
144
 
160
161
 
161
162
        float bundle_size;                      /* size of bundles in reconstructed data */
162
163
        short bundle_drawtype;          /* display style for bundle */
163
 
 
164
 
        char pad[6];
 
164
        short pad;
 
165
        int matcap_icon;                        /* icon id */
165
166
        
166
167
        unsigned int lay_used; /* used while drawing */
167
168
        
169
170
        short view   DNA_DEPRECATED;
170
171
        
171
172
        struct Object *camera, *ob_centre;
 
173
        rctf render_border;
172
174
 
173
175
        struct ListBase bgpicbase;
174
176
        struct BGpic *bgpic  DNA_DEPRECATED; /* deprecated, use bgpicbase, only kept for do_versions(...) */
208
210
        
209
211
        /* drawflags, denoting state */
210
212
        short zbuf, transp, xray;
211
 
 
212
213
        char pad3[2];
213
214
 
214
 
        void *properties_storage;       /* Nkey panel stores stuff here (runtime only!) */
215
 
 
 
215
        void *properties_storage;               /* Nkey panel stores stuff here (runtime only!) */
 
216
        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 */
 
330
};
 
331
 
 
332
#define V3D_BGPIC_EXPANDED (V3D_BGPIC_EXPANDED | V3D_BGPIC_CAMERACLIP)
318
333
 
319
334
/* BGPic->source */
320
335
/* may want to use 1 for select ?*/