Add disable use light in file checker

1.9.1

- fix: add error handling on palette linker when blend_path isn't valid anymore
- added: file checker entry, Disable all GP object `use lights` (True by default in addon pref `checklist`)
- added: WIP of Batch reproject all on cursor.
  - No UI. In search menu `Flat Reproject Selected On cursor` (idname `gp.batch_flat_reproject`)
This commit is contained in:
Pullusb
2022-01-18 22:53:08 +01:00
parent 4ac743cd32
commit 7985844226
8 changed files with 363 additions and 18 deletions
+5 -1
View File
@@ -15,7 +15,7 @@ bl_info = {
"name": "GP toolbox",
"description": "Tool set for Grease Pencil in animation production",
"author": "Samuel Bernou, Christophe Seux",
"version": (1, 9, 0),
"version": (1, 9, 1),
"blender": (2, 91, 0),
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
"warning": "",
@@ -47,6 +47,7 @@ from . import OP_brushes
from . import OP_file_checker
from . import OP_copy_paste
from . import OP_realign
from . import OP_flat_reproject
from . import OP_depth_move
from . import OP_key_duplicate_send
from . import OP_layer_manager
@@ -574,6 +575,7 @@ class GPTB_prefs(bpy.types.AddonPreferences):
col.prop(self.fixprops, 'set_slider_n_sync')
col.prop(self.fixprops, 'check_front_axis')
col.prop(self.fixprops, 'check_placement')
col.prop(self.fixprops, 'set_gp_use_lights_off')
col.prop(self.fixprops, 'set_pivot_median_point')
col.prop(self.fixprops, 'disable_guide')
col.prop(self.fixprops, 'list_disabled_anim')
@@ -686,6 +688,7 @@ def register():
OP_brushes.register()
OP_cursor_snap_canvas.register()
OP_copy_paste.register()
OP_flat_reproject.register()
OP_realign.register()
OP_depth_move.register()
OP_key_duplicate_send.register()
@@ -728,6 +731,7 @@ def unregister():
OP_key_duplicate_send.unregister()
OP_depth_move.unregister()
OP_realign.unregister()
OP_flat_reproject.unregister()
OP_copy_paste.unregister()
OP_cursor_snap_canvas.unregister()
OP_brushes.unregister()