Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-02-21 21:10:14 +0400
committerThomas Dinges <blender@dingto.org>2013-02-21 21:10:14 +0400
commita239700f439275df28136b846be032da70e18d70 (patch)
tree64cbd6e6e107571a3dad33eabdabdd4830e00d77 /intern/cycles/device/device_network.cpp
parent3df2b93c6d69601c75bc95ac5358957822cf4db9 (diff)
Cycles:
* Code cleanup, remove deprecated support_advanced_shading() functions. Left over from r43734.
Diffstat (limited to 'intern/cycles/device/device_network.cpp')
-rw-r--r--intern/cycles/device/device_network.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/intern/cycles/device/device_network.cpp b/intern/cycles/device/device_network.cpp
index f5545c3dfdf..201f04bc5d8 100644
--- a/intern/cycles/device/device_network.cpp
+++ b/intern/cycles/device/device_network.cpp
@@ -222,11 +222,6 @@ public:
RPCSend snd(socket, "task_cancel");
snd.write();
}
-
- bool support_advanced_shading()
- {
- return true; /* todo: get this info from device */
- }
};
Device *device_network_create(DeviceInfo& info, Stats &stats, const char *address)
@@ -242,6 +237,8 @@ void device_network_info(vector<DeviceInfo>& devices)
info.description = "Network Device";
info.id = "NETWORK";
info.num = 0;
+ info.advanced_shading = true; /* todo: get this info from device */
+ info.pack_images = false;
devices.push_back(info);
}