Disable multiframe-editing

0.9.6

- added: `Check layers` disable multi-edit in all gp data. Seemed to cause artifacts on some renders (tested on 2.93.5)
main
Pullusb 2022-02-02 14:24:04 +01:00
parent baa9dbec35
commit a9c9de2f76
3 changed files with 17 additions and 1 deletions

View File

@ -14,6 +14,10 @@ Activate / deactivate layer opaticty according to prefix
Activate / deactivate all masks using MA layers
-->
0.9.6
- added: `Check layers` disable multiframe-edit in all gp data. Seemed to cause artifacts on some renders (tested on 2.93.5)
0.9.5
- added: `check for problems` button also propose to run GP toolbox's file checker (if addon is enabled) to perform generic file checks

View File

@ -294,6 +294,18 @@ class GPEXP_OT_layers_state(bpy.types.Operator):
if changes:
changes.append('')
## disable multiframe editing on all GP (can cause artifacts on render)
gp_mu_edit_ct = 0
for gp in bpy.data.grease_pencils:
if gp.use_multiedit:
print(f'Disabling multi-edit on GP {gp.name}')
gp.use_multiedit = False
gp_mu_edit_ct += 1
if gp_mu_edit_ct:
changes.append(f'{gp_mu_edit_ct} multiframe-edit mode disabled')
fn.show_message_box(_message=changes, _title="Layers Check Report", _icon='INFO')
# render = bpy.data.scenes.get('Render')

View File

@ -2,7 +2,7 @@ bl_info = {
"name": "GP Render",
"description": "Organise export of gp layers through compositor output",
"author": "Samuel Bernou",
"version": (0, 9, 5),
"version": (0, 9, 6),
"blender": (2, 93, 0),
"location": "View3D",
"warning": "",