Fix T78045: CTL-ALT-S does nothing in pose mode and crashes when called from the menu

This commit is contained in:
2020-06-22 19:06:04 -03:00
parent 2fdca5bd19
commit 51bf04383a
8 changed files with 41 additions and 46 deletions

View File

@@ -26,6 +26,7 @@
#define __TRANSFORM_MODE_H__
struct AnimData;
struct bContext;
struct LinkNode;
struct TransData;
struct TransDataContainer;
@@ -40,6 +41,7 @@ typedef struct TransDataGenericSlideVert {
} TransDataGenericSlideVert;
/* transform_mode.c */
int transform_mode_really_used(struct bContext *C, int mode);
bool transdata_check_local_center(TransInfo *t, short around);
bool transform_mode_is_changeable(const int mode);
void protectedTransBits(short protectflag, float vec[3]);