Page MenuHome

multiple scenes in different windows -> "DAG zero... not allowed to happen!"
Closed, ArchivedPublic

Description

System Information
Windows 10 64 bit
Nvidia Quadro 600

Blender Version
Broken: d49985c

Exact steps for others to reproduce the error

When I execute the code below I get an error message in the console: "DAG zero... not allowed to happen!"
It does not seem to be very harmful at the first glimpse but maybe that 'should not happen'.

import bpy

object = bpy.data.objects.new("Test Object", None)
scene1 = bpy.context.scene
scene2 = bpy.data.scenes.new("Test Scene")

bpy.ops.wm.window_duplicate()
window1, window2 = bpy.data.window_managers[0].windows[:2]

window1.screen.scene = scene1
window2.screen.scene = scene2

scene1.objects.link(object)

Event Timeline

If you run blender with the following option flags, it does not occur.

blender-app.exe --enable-new-depsgraph

This is actually weird why new depsgraph doesn't show message in this case. It's almost harmless in this case perhaps, but would want to have a closer look before making decision here.

Sergey Sharybin (sergey) lowered the priority of this task from 90 to Normal.Mar 3 2016, 3:32 PM
Sergey Sharybin (sergey) changed the task status from Unknown Status to Unknown Status.Apr 26 2016, 2:55 PM

Ok, so it's because of delayed nature of flushing actual update tags in the new depsgraph, so it's all fine. Old depsgraph i'd just leave alone and stop trying fixing it in order to have more time working on a new depsgraph.

So thanks for the report, but will consider it a known glitch of old depsgraph.