Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,.
Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
This commit is contained in:
@@ -126,7 +126,7 @@ void BIF_selectTransformOrientationValue(struct bContext *C, int orientation);
|
||||
void ED_getTransformOrientationMatrix(const struct bContext *C, float orientation_mat[][3], int activeOnly);
|
||||
|
||||
struct EnumPropertyItem *BIF_enumTransformOrientation(struct bContext *C);
|
||||
char * BIF_menustringTransformOrientation(const struct bContext *C, char *title); /* the returned value was allocated and needs to be freed after use */
|
||||
const char * BIF_menustringTransformOrientation(const struct bContext *C, const char *title); /* the returned value was allocated and needs to be freed after use */
|
||||
int BIF_countTransformOrientation(const struct bContext *C);
|
||||
|
||||
void BIF_TransformSetUndo(char *str);
|
||||
|
||||
Reference in New Issue
Block a user