Revert "Start separating "lineAAEnable""

This reverts commit 759cea424c.
This commit is contained in:
Allan Ihsan 2022-06-22 10:56:49 +03:00
parent 6adcf619b0
commit 277682c03d

View file

@ -361,6 +361,7 @@ Viewport2Options = {
"floatingPointRTFormat": 1,
"gammaCorrectionEnable": False,
"gammaValue": 2.2,
"lineAAEnable": False,
"maxHardwareLights": 8,
"motionBlurEnable": False,
"motionBlurSampleCount": 8,
@ -382,10 +383,6 @@ Viewport2Options = {
"vertexAnimationCache": 0
}
Viewport2OAAoption = {
"lineAAenable": False,
}
def apply_view(panel, **options):
"""Apply options to panel"""
@ -499,13 +496,6 @@ def parse_view(panel):
except ValueError:
continue
for key in Viewport2OAAoption.keys():
attr = "hardwareRenderingGlobals.{0}".format(key)
try:
viewport2_options[key] = cmds.getAttr(attr)
except ValueError:
continue
return {
"camera": camera,
"display_options": display_options,