Update class names after api changes to Blender

In rB4ddad5a7ee5d9c3245593c509714f8c1359f9342
the `RENDER_PT_dimensions` class was renamed to
`RENDER._PT_format`
This commit is contained in:
Aaron Carlisle 2021-09-05 23:24:04 -04:00
parent eecf14222b
commit 87d1c3811f
2 changed files with 3 additions and 3 deletions

View File

@ -46,8 +46,8 @@ def render_final_resolution_ui(self, context):
def register():
bpy.types.RENDER_PT_dimensions.append(render_final_resolution_ui)
bpy.types.RENDER_PT_format.append(render_final_resolution_ui)
def unregister():
bpy.types.RENDER_PT_dimensions.remove(render_final_resolution_ui)
bpy.types.RENDER_PT_format.remove(render_final_resolution_ui)

View File

@ -64,7 +64,7 @@ del properties_view_layer
from bl_ui import properties_render
# DEPRECATED#properties_render.RENDER_PT_render.COMPAT_ENGINES.add('POVRAY_RENDER')
# DEPRECATED#properties_render.RENDER_PT_dimensions.COMPAT_ENGINES.add('POVRAY_RENDER')
# DEPRECATED#properties_render.RENDER_PT_format.COMPAT_ENGINES.add('POVRAY_RENDER')
# properties_render.RENDER_PT_antialiasing.COMPAT_ENGINES.add('POVRAY_RENDER')
# TORECREATE##DEPRECATED#properties_render.RENDER_PT_shading.COMPAT_ENGINES.add('POVRAY_RENDER')
# DEPRECATED#properties_render.RENDER_PT_output.COMPAT_ENGINES.add('POVRAY_RENDER')