Cycles: CLeanup, remove unused function argument
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 15 Jan 2018 10:45:16 +0000 (11:45 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 15 Jan 2018 10:45:16 +0000 (11:45 +0100)
intern/cycles/render/object.cpp
intern/cycles/render/object.h

index 20f57cc8d9746875721e2aa5cb50dda58bc95754..4c06654d756857a898411e3ebd87c3d1b042ecf2 100644 (file)
@@ -473,8 +473,7 @@ void ObjectManager::device_update_object_transform_task(
        }
 }
 
-void ObjectManager::device_update_transforms(Device *device,
-                                             DeviceScene *dscene,
+void ObjectManager::device_update_transforms(DeviceScene *dscene,
                                              Scene *scene,
                                              uint *object_flag,
                                              Progress& progress)
@@ -560,7 +559,7 @@ void ObjectManager::device_update(Device *device, DeviceScene *dscene, Scene *sc
 
        /* set object transform matrices, before applying static transforms */
        progress.set_status("Updating Objects", "Copying Transformations to device");
-       device_update_transforms(device, dscene, scene, object_flag, progress);
+       device_update_transforms(dscene, scene, object_flag, progress);
 
        if(progress.get_cancel()) return;
 
index 9f86c342acd55e414c92ad1a3881c65331d22f20..88645bc4a8061befa13123a782af6466e85ea06c 100644 (file)
@@ -93,8 +93,7 @@ public:
        ~ObjectManager();
 
        void device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress& progress);
-       void device_update_transforms(Device *device,
-                                     DeviceScene *dscene,
+       void device_update_transforms(DeviceScene *dscene,
                                      Scene *scene,
                                      uint *object_flag,
                                      Progress& progress);