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
parent
baa9dbec35
commit
a9c9de2f76
|
@ -14,6 +14,10 @@ Activate / deactivate layer opaticty according to prefix
|
||||||
Activate / deactivate all masks using MA layers
|
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
|
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
|
- added: `check for problems` button also propose to run GP toolbox's file checker (if addon is enabled) to perform generic file checks
|
||||||
|
|
|
@ -294,6 +294,18 @@ class GPEXP_OT_layers_state(bpy.types.Operator):
|
||||||
if changes:
|
if changes:
|
||||||
changes.append('')
|
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')
|
fn.show_message_box(_message=changes, _title="Layers Check Report", _icon='INFO')
|
||||||
|
|
||||||
# render = bpy.data.scenes.get('Render')
|
# render = bpy.data.scenes.get('Render')
|
||||||
|
|
|
@ -2,7 +2,7 @@ bl_info = {
|
||||||
"name": "GP Render",
|
"name": "GP Render",
|
||||||
"description": "Organise export of gp layers through compositor output",
|
"description": "Organise export of gp layers through compositor output",
|
||||||
"author": "Samuel Bernou",
|
"author": "Samuel Bernou",
|
||||||
"version": (0, 9, 5),
|
"version": (0, 9, 6),
|
||||||
"blender": (2, 93, 0),
|
"blender": (2, 93, 0),
|
||||||
"location": "View3D",
|
"location": "View3D",
|
||||||
"warning": "",
|
"warning": "",
|
||||||
|
|
Loading…
Reference in New Issue