forked from blender/blender
Fix review comments #27
No reviewers
Labels
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BogdanNagirniak/blender#27
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-392"
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
Refactoring to match Blender's team requirements and code style.
Technical steps
utils.h/format_duration
withBLI_timecode_string_from_time_simple
LOG_EN
->LOG_RENDER_HYDRA
,rhd.en
->render.hydra
LOG_BSD
->LOG_RENDER_HYDRA_SCENE
,rhd.bsd
->render.hydra.scene
BKE_tempdir_session()//hydra_image_cache
folder@ -110,3 +110,3 @@
return ""
mtlx_file = mx_utils.get_temp_file(".mtlx", material.name)
mtlx_file = mx_utils.get_temp_file(".mtlx", str(material.as_pointer()))
Use hex format for mtlx name like:
f"mat_{material.as_pointer():016x}"
@ -84,3 +46,1 @@
image_name = std::filesystem::path(image_name).filename().replace_extension().string();
image_name = pxr::TfMakeValidIdentifier(image_name);
}
std::string image_name(std::to_string((uintptr_t)image));
Use hex format for image name like:
@ -331,2 +331,4 @@
bool do_update_world = false;
unsigned int scene_recalc = scene->id.recalc;
if (scene_recalc) {
This block need to remove. It was moved below in earlier commit