DAG zero

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

DAG zero

Postby J'Kla » Thu Mar 01, 2018 8:17 am

When I am exporting my age I keep getting

DAG zero.... not allowed to happen

It appears not to be an issue when it comes to the exported age.

It would probably help if I knew what DAG zero was.

I am not getting it where I have scratch built an age only where I have elements culled from my previous ages.

If this is not actually an issue do we need the message at all?
User avatar
J'Kla
 
Posts: 1003
Joined: Wed Feb 20, 2008 3:16 pm
Location: Geordieland UK

Re: DAG zero

Postby Deledrius » Thu Mar 01, 2018 9:40 am

As I recall Hoikas telling me when I asked about this, it's a Blender warning that happens due to some changes in the internal data when using older Blender files. I'm not sure there's anything we can do about it, as it's not a Korman issue. Perhaps he can elaborate when he has more time (sadly, Hoikas is quite busy elsewhere these days).
User avatar
Deledrius
Gehn Shard Admin
 
Posts: 1377
Joined: Mon Oct 01, 2007 1:21 pm

Re: DAG zero

Postby J'Kla » Thu Mar 01, 2018 11:37 am

A Headsup on the Wiki would be good.

Handy to know its an internal Blender message
User avatar
J'Kla
 
Posts: 1003
Joined: Wed Feb 20, 2008 3:16 pm
Location: Geordieland UK

Re: DAG zero

Postby Tsar Hoikas » Thu Mar 01, 2018 7:55 pm

Deledrius found something earlier today related to this issue, and I think I know how to fix it. The next Korman release is going to be a lot smaller, so hopefully it will happen in 2018. :geek:
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Re: DAG zero

Postby J'Kla » Wed Mar 07, 2018 5:25 am

Discovery

In an effort to speed up exporting I switched off Bake Static Lights

I stopped getting the DAG zero message.

I do not know if this helps. ;)

Correction I don't get the message during export it is still appended at the end.
User avatar
J'Kla
 
Posts: 1003
Joined: Wed Feb 20, 2008 3:16 pm
Location: Geordieland UK

Re: DAG zero

Postby J'Kla » Wed Apr 03, 2019 5:24 am

Some research into this "DAG zero... not allowed to happen" pointed it out as a glitch in blender.

I now have it popping up a second time in the reporting of my export between the lines

Collecting Objects
and
Harvesting Actors

I suppose it is something we will probably have to live with considering it is embedded in Blender rather than Korman and it appears not to intefere significantly with the exporting.

I am continually left wondering what is the line it is overwriting?

What is the DAG that is not allowed?

Plus we are told the time spent exporting in seconds and while this is probably useful in some ways I would also like to see the numbers of whatever.

Its no big deal and if it is a big issue I am more than prepared to ignore it considering the export works.
User avatar
J'Kla
 
Posts: 1003
Joined: Wed Feb 20, 2008 3:16 pm
Location: Geordieland UK

Re: DAG zero

Postby dendwaler » Fri Apr 05, 2019 6:32 am

I can remember i experienced this problem in the past.
I think it happened after importing some objects from older blendfiles which contains some dependecies not longer available in the new environment.

May be this piece of code clears it up for the coders amoung us.
Code: Select all
/* flushes all recalc flags in objects down the dependency tree */
void DAG_scene_flush_update(Main *bmain, Scene *sce, unsigned int lay, const short time)
{
    DagNode *firstnode;
    DagAdjList *itA;
    Object *ob;
    int lasttime;

    if (!DEG_depsgraph_use_legacy()) {
        DEG_scene_flush_update(bmain, sce);
        return;
    }

    if (sce->theDag == NULL || sce->theDag->need_update) {
        printf("DAG zero... not allowed to happen!
");
        DAG_scene_relations_update(bmain, sce);
    }
.......
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one.



Watch my latest Video Or even better..... watch the Cathedral's Complete Walkthrough made by Suleika!
User avatar
dendwaler
 
Posts: 936
Joined: Mon Jun 22, 2009 10:49 am
Location: Nederland

Re: DAG zero

Postby Sirius » Sat Apr 06, 2019 4:53 am

This message sounds relatively harmless though. From what little I can gather, it seems it's related to Blender cleaning up some orphaned data or something. That might happen due to all the data Korman is shuffling around behind the scenes when you export an Age (like making temporary versions of meshes with modifiers applied, baking lightmaps, etc).
This shouldn't be much of a concern until some objects actually start disappearing from your Blender files... Or some objects refuse to get deleted, like J'Kla's toilets :D But like I said, I don't think it's too serious.
User avatar
Sirius
 
Posts: 1506
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: DAG zero

Postby Tsar Hoikas » Sun Apr 07, 2019 7:22 pm

https://github.com/H-uru/korman/commit/ ... da18819a21

In the meantime, if this is really bothering you, I suggest starting Blender with the new dependency graph by using the --enable-new-depsgraph argument.
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Re: DAG zero

Postby Doobes » Sun Apr 07, 2019 7:58 pm

I've literally seen this message hundreds of times after export and it doesn't affect the Age one bit from what I've seen. I wouldn't worry about it.
KI #s: MOULa - 6302, Minkata - 35287, Gehn - 14291,
TOC - 82340, DI - 44387
Image
User avatar
Doobes
 
Posts: 216
Joined: Thu Aug 07, 2008 6:08 pm
Location: Savannah, GA, USA

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 5 guests

cron