forked from bartvdbraak/blender
Fix T44689: New Depsgraph crash
Simple highschool rated issue -- uninitialized variable :)
This commit is contained in:
parent
1a0fb7e9ae
commit
ae9e38c5ad
@ -114,6 +114,10 @@ void TimeSourceDepsNode::tag_update(Depsgraph *graph)
|
||||
|
||||
/* Root Node ============================================== */
|
||||
|
||||
RootDepsNode::RootDepsNode() : time_source(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
RootDepsNode::~RootDepsNode()
|
||||
{
|
||||
OBJECT_GUARDED_DELETE(time_source, TimeSourceDepsNode);
|
||||
|
@ -127,6 +127,7 @@ struct TimeSourceDepsNode : public DepsNode {
|
||||
|
||||
/* Root Node. */
|
||||
struct RootDepsNode : public DepsNode {
|
||||
RootDepsNode();
|
||||
~RootDepsNode();
|
||||
|
||||
TimeSourceDepsNode *add_time_source(const string &name = "");
|
||||
|
Loading…
Reference in New Issue
Block a user