diff options
author | Pullusb <bernou.samuel@gmail.com> | 2021-02-10 23:52:30 +0300 |
---|---|---|
committer | Pullusb <bernou.samuel@gmail.com> | 2021-02-10 23:53:22 +0300 |
commit | 32adcd8c5928785e8be4ec64e86afd12f9551699 (patch) | |
tree | a50f0f19028078865a796ddc5e309403301db3db /greasepencil_tools/prefs.py | |
parent | e5a2d98c827b54052688c90113a12e5c661149c3 (diff) |
GPencil Tools: Canvas rotation fixes
- Changed canvas rotation reset method (was hard to trigger with a tablet pen).
- Default angle steps increased to 15 degrees.
- HUD now appear only in active viewport as it should
Diffstat (limited to 'greasepencil_tools/prefs.py')
-rw-r--r-- | greasepencil_tools/prefs.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/greasepencil_tools/prefs.py b/greasepencil_tools/prefs.py index 533f5b99..701fea3f 100644 --- a/greasepencil_tools/prefs.py +++ b/greasepencil_tools/prefs.py @@ -128,9 +128,9 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences): rc_angle_step: FloatProperty( name="Angle Steps", description="Step the rotation using this angle when using rotate canvas step modifier", - default=0.0872664600610733, # 5 + default=0.2617993877991494, # 15 min=0.01745329238474369, # 1 - max=3.1415927410125732, # # 180 + max=3.1415927410125732, # 180 soft_min=0.01745329238474369, # 1 soft_max=1.5707963705062866, # 90 step=10, precision=1, subtype='ANGLE', unit='ROTATION') @@ -153,7 +153,7 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences): row.label(text='Box Deform:') row.operator("wm.call_menu", text="", icon='QUESTION').name = "GPT_MT_box_deform_doc" box.prop(self, "use_clic_drag") - # box.separator() + box.prop(self, "default_deform_type") box.label(text="Deformer type can be changed during modal with 'M' key, this is for default behavior", icon='INFO') @@ -204,7 +204,7 @@ class GreasePencilAddonPrefs(bpy.types.AddonPreferences): draw_ts_pref(prefs.ts, box) -# def box_deform_tuto(layout): + class GPT_MT_box_deform_doc(bpy.types.Menu): # bl_idname = "OBJECT_MT_custom_menu" bl_label = "Box Deform Infos Sheet" |