~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/editors/transform/transform.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
341
341
        float           auto_values[4];
342
342
        float           axis[3];
343
343
        float           axis_orig[3];   /* TransCon can change 'axis', store the original value here */
344
 
        
 
344
 
 
345
        short           remove_on_cancel; /* remove elements if operator is cancelled */
 
346
 
345
347
        void            *view;
346
348
        struct bContext *context; /* Only valid (non null) during an operator called function. */
347
349
        struct ScrArea  *sa;
350
352
        struct ToolSettings *settings;
351
353
        struct wmTimer *animtimer;
352
354
        struct wmKeyMap *keymap;  /* so we can do lookups for header text */
 
355
        struct ReportList *reports;  /* assign from the operator, or can be NULL */
353
356
        int         mval[2];        /* current mouse position               */
354
357
        float       zfac;           /* use for 3d view */
355
358
        struct Object *obedit;
455
458
#define TD_USEQUAT                      (1 << 3)
456
459
#define TD_NOTCONNECTED         (1 << 4)
457
460
#define TD_SINGLESIZE           (1 << 5)        /* used for scaling of MetaElem->rad */
458
 
/*#define TD_TIMEONLY                   (1 << 8) */ /*UNUSED*/
 
461
#define TD_INDIVIDUAL_SCALE     (1 << 8) /* Scale relative to individual element center */
459
462
#define TD_NOCENTER                     (1 << 9)
460
463
#define TD_NO_EXT                       (1 << 10)       /* ext abused for particle key timing */
461
464
#define TD_SKIP                         (1 << 11)       /* don't transform this data */
725
728
 
726
729
/* Those two fill in mat and return non-zero on success */
727
730
bool createSpaceNormal(float mat[3][3], const float normal[3]);
728
 
bool createSpaceNormalTangent(float mat[3][3], float normal[3], float tangent[3]);
 
731
bool createSpaceNormalTangent(float mat[3][3], const float normal[3], const float tangent[3]);
729
732
 
730
733
struct TransformOrientation *addMatrixSpace(struct bContext *C, float mat[3][3], char name[], int overwrite);
731
734
void applyTransformOrientation(const struct bContext *C, float mat[3][3], char *name);