Depsgraph: Cleanup, variable name

This commit is contained in:
Sergey Sharybin 2017-07-27 15:10:22 +02:00
parent e90468e5a3
commit 6ef34525a1
1 changed files with 2 additions and 2 deletions

View File

@ -684,8 +684,8 @@ ID *deg_expand_copy_on_write_datablock(const Depsgraph *depsgraph,
* or cases where we want to do something smarter than simple datablock
* copy.
*/
const short type = GS(id_orig->name);
switch (type) {
const short id_type = GS(id_orig->name);
switch (id_type) {
case ID_SCE:
{
Scene *new_scene = scene_copy_no_main((Scene *)id_orig);