diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-30 15:32:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-30 19:17:49 +0300 |
commit | 08862b8246b49331ddfb7ed6812c9e31989bf8b1 (patch) | |
tree | cdb01c144101c0be9878538c1bc1ef3026929250 /intern/cycles | |
parent | 85ce4d957cee0de45b620d30af4061253ff8b18f (diff) |
Render API: rename some API functions back to earlier names.
Their purpose is the same, no reason to break API compatibility here.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/blender/addon/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/addon/__init__.py b/intern/cycles/blender/addon/__init__.py index 353f2a1ad5b..6e64ed609b7 100644 --- a/intern/cycles/blender/addon/__init__.py +++ b/intern/cycles/blender/addon/__init__.py @@ -78,7 +78,7 @@ class CyclesRender(bpy.types.RenderEngine): engine.reset(self, data, depsgraph) - def render_to_image(self, depsgraph): + def render(self, depsgraph): engine.render(self, depsgraph) def bake(self, depsgraph, obj, pass_type, pass_filter, object_id, pixel_array, num_pixels, depth, result): @@ -93,7 +93,7 @@ class CyclesRender(bpy.types.RenderEngine): engine.reset(self, context.blend_data, context.depsgraph) engine.sync(self, context.depsgraph, context.blend_data) - def render_to_view(self, context): + def view_draw(self, context): engine.draw(self, context.depsgraph, context.region, context.space_data, context.region_data) def update_script_node(self, node): |