Make object_update comment about lack of ID even more clear
This commit is contained in:
parent
ab77363619
commit
0e2bc1a4ac
|
@ -438,10 +438,14 @@ void BKE_object_eval_flush_base_flags(const EvaluationContext *UNUSED(eval_ctx),
|
|||
Object *object, Base *base, bool is_from_set)
|
||||
{
|
||||
DEBUG_PRINT("%s on %s (%p)\n", __func__, object->id.name, object);
|
||||
|
||||
/* Make sure we have the base collection settings is already populated.
|
||||
* This will fail when BKE_layer_eval_layer_collection_pre hasn't run yet
|
||||
* Which usually means a missing call to DEG_id_tag_update(). */
|
||||
* This will fail when BKE_layer_eval_layer_collection_pre hasn't run yet.
|
||||
*
|
||||
* Which usually means a missing call to DEG_id_tag_update(id, DEG_TAG_BASE_FLAGS_UPDATE).
|
||||
* Either of the entire scene, or of the newly added objects.*/
|
||||
BLI_assert(!BLI_listbase_is_empty(&base->collection_properties->data.group));
|
||||
|
||||
/* Copy flags and settings from base. */
|
||||
object->base_flag = base->flag;
|
||||
if (is_from_set) {
|
||||
|
|
Loading…
Reference in New Issue