Fix #33405: preview render getting stuck in a particular .blend file, ObjectKey
[blender.git] / intern / cycles / render / osl.h
index 08b5f8b89fbee48f507c0efbb9d6b6eb11eb30f0..9b58745bd46bffa587e1b7a6e55ee995b82d80f9 100644 (file)
@@ -52,6 +52,8 @@ public:
        OSLShaderManager();
        ~OSLShaderManager();
 
+       bool use_osl() { return true; }
+
        void device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress& progress);
        void device_free(Device *device, DeviceScene *dscene);