Depsgraph: Remove unsued node flag

This commit is contained in:
Sergey Sharybin 2017-07-25 14:06:17 +02:00
parent 5d327eda98
commit 762fa7bee3
2 changed files with 0 additions and 11 deletions

View File

@ -560,7 +560,6 @@ void DepsgraphNodeBuilder::build_animdata(ID *id)
*/
OperationDepsNode *DepsgraphNodeBuilder::build_driver(ID *id, FCurve *fcu)
{
ChannelDriver *driver = fcu->driver;
ID *id_cow = get_cow_id(id);
/* Create data node for this driver */
@ -584,11 +583,6 @@ OperationDepsNode *DepsgraphNodeBuilder::build_driver(ID *id, FCurve *fcu)
fcu->array_index);
}
/* tag "scripted expression" drivers as needing Python (due to GIL issues, etc.) */
if (driver->type == DRIVER_TYPE_PYTHON) {
driver_op->flag |= DEPSOP_FLAG_USES_PYTHON;
}
/* return driver node created */
return driver_op;
}

View File

@ -45,11 +45,6 @@ typedef enum eDepsOperation_Flag {
/* node was directly modified, causing need for update */
DEPSOP_FLAG_DIRECTLY_MODIFIED = (1 << 1),
/* Operation is evaluated using CPython; has GIL and security
* implications...
*/
DEPSOP_FLAG_USES_PYTHON = (1 << 2),
} eDepsOperation_Flag;
/* Atomic Operation - Base type for all operations */