check list for file

1.5.1

- fix: eraser brush
- change: check file has custom check list in addon prefs
This commit is contained in:
Pullusb
2021-06-17 16:21:27 +02:00
parent 060fa8ff92
commit 2efbb36ddf
5 changed files with 202 additions and 77 deletions
+6 -4
View File
@@ -303,10 +303,12 @@ class GPTB_PT_render(bpy.types.Panel):
row.operator('render.use_active_object_name', text = '', icon='OUTLINER_DATA_GP_LAYER')#icon = 'OUTPUT'
layout.operator('render.setup_render_path', text = 'Setup output', icon = 'TOOL_SETTINGS')#SETTINGS
blend = Path(bpy.data.filepath)
out = blend.parents[1] / "compo" / "base"
layout.operator("wm.path_open", text='Open render folder', icon='FILE_FOLDER').filepath = str(out)
blend = bpy.data.filepath
if blend:
blend = Path(blend)
out = blend.parents[1] / "compo" / "base"
layout.operator("wm.path_open", text='Open render folder', icon='FILE_FOLDER').filepath = str(out)