forked from blender/blender
Fix review comments #51
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#51
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-430"
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: fix Brecht's review comments
Technical steps
BKE_object_to_mesh
pxr::PlugRegistry::GetInstance().RegisterPlugins
,init_func
andget_render_plugins_func
@ -190,3 +186,3 @@
Material *mat = nullptr;
if (BKE_object_material_count_eval(object) > 0) {
mat = BKE_object_material_get_eval(object, object->actcol);
mat = BKE_object_material_get_eval(object, 0);
Add comment here about using first material and TODO about support multimaterial
@ -26,3 +26,1 @@
snprintf(file_name, 32, "img_%016llx.hdr", (uintptr_t)image);
BLI_path_join(file_path.data(),
file_path.capacity(),
snprintf(file_name, sizeof(file_name), "img_%016llx.hdr", (uintptr_t)image);
add same
sizeof(...)
to other places withsnprintf()
@ -112,3 +112,3 @@
std::string path;
if (!PyErr_Occurred()) {
if (!PyErr_Occurred() && PyUnicode_Check(result)) {
Move
PyUnicode_Check(result)
into block belowRefactoring: fix Brecht's review commentsto Fix review commentsTested - works good