forked from blender/blender
Change log severity for better maintability #50
No reviewers
Labels
No Label
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BogdanNagirniak/blender#50
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Vasyl-Pidhirskyi/blender_bn:BLEN-422"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
Severity for LOG_RENDER_HYDRA_SCENE:
0: add/remove/update objects in BlenderSceneDelegate
1: add/remove/update objects in IdData classes
2: visibility, instances
3: getters
Technical steps
Adjusted levels.
one comment
@ -133,6 +133,7 @@ bool InstancerData::update_visibility()
}
}
}
ID_LOG(2, "");
Should it be moved inside
if (ret) {
?@ -123,3 +123,3 @@
}
CLOG_INFO(LOG_RENDER_HYDRA, 2, "Engine %016llx %s", engine, engine_type);
CLOG_INFO(LOG_RENDER_HYDRA, 0, "Engine %016llx %s", engine, engine_type);
create and free engine -> 1
@ -174,3 +174,3 @@
Py_END_ALLOW_THREADS;
CLOG_INFO(LOG_RENDER_HYDRA, 2, "Engine %016llx", engine);
CLOG_INFO(LOG_RENDER_HYDRA, 0, "Engine %016llx", engine);
sync, render -> 2
@ -194,3 +194,3 @@
Py_END_ALLOW_THREADS;
CLOG_INFO(LOG_RENDER_HYDRA, 3, "Engine %016llx", engine);
CLOG_INFO(LOG_RENDER_HYDRA, 0, "Engine %016llx", engine);
3
@ -512,3 +512,3 @@
{
CLOG_INFO(LOG_RENDER_HYDRA_SCENE,
2,
0,
visibility -> 2
@ -48,3 +48,3 @@
BKE_image_save_options_free(&opts);
CLOG_INFO(LOG_RENDER_HYDRA_SCENE, 2, "%s -> %s", image->id.name, file_path.c_str());
CLOG_INFO(LOG_RENDER_HYDRA_SCENE, 3, "%s -> %s", image->id.name, file_path.c_str());
Move to
if (BKE_image_save(...))
, severity 1@ -72,3 +72,3 @@
}
CLOG_INFO(LOG_RENDER_HYDRA_SCENE, 2, "%s -> %s", image->id.name, file_path.c_str());
CLOG_INFO(LOG_RENDER_HYDRA_SCENE, 3, "%s -> %s", image->id.name, file_path.c_str());
1
@ -116,6 +116,7 @@ bool InstancerData::update_visibility()
bool ret = visible != prev_visible;
if (ret) {
ID_LOG(2, "");
InstancerData init, remove, update/update_visibility -> 1
Tested - works good