Depsgraph: Fix strict compiler error with copy on write disabled

This commit is contained in:
2017-07-19 16:26:22 +02:00
parent 53c1d15675
commit e29c54674c

View File

@@ -82,7 +82,7 @@ struct DepsgraphNodeBuilder {
#ifdef WITH_COPY_ON_WRITE
return (T *)cow->id.newid;
#else
return cow;
return (T *)cow;
#endif
}