Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #313

Merged
merged 9 commits into from
Aug 28, 2018
Merged

Updates #313

merged 9 commits into from
Aug 28, 2018

Conversation

jdent02
Copy link
Member

@jdent02 jdent02 commented Aug 22, 2018

No description provided.

@dictoon
Copy link
Member

dictoon commented Aug 27, 2018

Typo in commit: "Fixes for area lamos"

path_util.py Outdated
#
# This software is released under the MIT license.
#
# Copyright (c) 2014-2018 Jonathan Dent, The appleseedhq Organization
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New files should mention 2018 only.

tmp = set(shader_directories)
shader_directories = list(tmp)

return shader_directories
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure all files end with a carriage return.

items=[('debug', "Debug", ""),
('warning', "Warning", ""),
('error', "Error", ""),
('critical', "Critical", "")],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these meant to be appleseed log levels? Or blenderseed ones?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blenderseed

@@ -223,6 +223,14 @@ class AppleseedRenderSettings(bpy.types.PropertyGroup):
min=1,
max=max_threads)

log_level = bpy.props.EnumProperty(name="log_level",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to ignore my question if it sounds stupid, but why do we deal with log levels in two different classes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One is the python logger for the addon itself, the other is for appleseed logger

@@ -51,8 +51,14 @@ def run(self):


class SetAppleseedLogLevel(object):
mapping = {'error': asr.LogMessageCategory.Error,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Order them by ascending severity: debug, info, warning, error, fatal.

@@ -223,6 +223,14 @@ class AppleseedRenderSettings(bpy.types.PropertyGroup):
min=1,
max=max_threads)

log_level = bpy.props.EnumProperty(name="log_level",
items=[('error', "Errors", ""),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Order them by ascending severity: debug, info, warning, error, fatal.

@dictoon dictoon merged commit eb65cc6 into appleseedhq:master Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants