Cleanup: improve comments, remove debug printf
This commit is contained in:
parent
e509f9c3a0
commit
ddc7e5f1b6
@ -5053,7 +5053,6 @@ def km_object_non_modal(params):
|
||||
])
|
||||
else:
|
||||
items.extend([
|
||||
# Transfer Sculpt Mode (release to avoid conflict with grease pencil drawing).
|
||||
# NOTE: this shortcut (while not temporary) is not ideal, see: T89757.
|
||||
("object.transfer_mode", {"type": 'Q', "value": 'PRESS', "alt": True}, None),
|
||||
])
|
||||
|
@ -982,7 +982,6 @@ void BKE_layer_collection_sync(const Scene *scene, ViewLayer *view_layer)
|
||||
view_layer->object_bases = new_object_bases;
|
||||
|
||||
LISTBASE_FOREACH (Base *, base, &view_layer->object_bases) {
|
||||
printf("%s\n", base->object->id.name);
|
||||
BKE_base_eval_flags(base);
|
||||
}
|
||||
|
||||
|
@ -185,6 +185,9 @@ void *BLI_memarena_calloc(MemArena *ma, size_t size)
|
||||
*
|
||||
* \note Useful for multi-threaded tasks that need a thread-local #MemArena
|
||||
* that is kept after the multi-threaded operation is completed.
|
||||
*
|
||||
* \note Avoid accumulating memory pools where possible
|
||||
* as any unused memory in `ma_src` is wasted every merge.
|
||||
*/
|
||||
void BLI_memarena_merge(MemArena *ma_dst, MemArena *ma_src)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user