Comment: note that structs are zeroed instead of using defaults
This commit is contained in:
parent
10cfa75e1d
commit
ee367084a7
|
@ -1194,7 +1194,10 @@ static void reconstruct_struct(const DNA_ReconstructInfo *reconstruct_info,
|
|||
new_block + step->data.substruct.new_offset);
|
||||
break;
|
||||
case RECONSTRUCT_STEP_INIT_ZERO:
|
||||
/* Do nothing, because the memory block has been calloced. */
|
||||
/* Do nothing, because the memory block are zeroed (from #MEM_callocN).
|
||||
*
|
||||
* Note that the struct could be initialized with the default struct,
|
||||
* however this complicates versioning, especially with flags, see: D4500. */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue