Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/__init__.py
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | def update(self, data, scene): | ||||
| else: | else: | ||||
| engine.reset(self, data, scene) | engine.reset(self, data, scene) | ||||
| engine.update(self, data, scene) | engine.update(self, data, scene) | ||||
| def render(self, scene): | def render(self, scene): | ||||
| engine.render(self) | engine.render(self) | ||||
| def bake(self, scene, obj, pass_type, pixel_array, num_pixels, depth, result): | def bake(self, scene, obj, pass_type, pixel_array, width, height, depth, result): | ||||
| engine.bake(self, obj, pass_type, pixel_array, num_pixels, depth, result) | engine.bake(self, obj, pass_type, pixel_array, width, height, depth, result) | ||||
| # viewport render | # viewport render | ||||
| def view_update(self, context): | def view_update(self, context): | ||||
| if not self.session: | if not self.session: | ||||
| engine.create(self, context.blend_data, context.scene, | engine.create(self, context.blend_data, context.scene, | ||||
| context.region, context.space_data, context.region_data) | context.region, context.space_data, context.region_data) | ||||
| engine.update(self, context.blend_data, context.scene) | engine.update(self, context.blend_data, context.scene) | ||||
| Show All 33 Lines | |||||