-
Notifications
You must be signed in to change notification settings - Fork 43
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
Updates #313
Conversation
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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", "")], |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
render/__init__.py
Outdated
@@ -51,8 +51,14 @@ def run(self): | |||
|
|||
|
|||
class SetAppleseedLogLevel(object): | |||
mapping = {'error': asr.LogMessageCategory.Error, |
There was a problem hiding this comment.
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.
properties/scene.py
Outdated
@@ -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", ""), |
There was a problem hiding this comment.
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.
No description provided.