reaame preview animation to create review

This commit is contained in:
Kayla Man 2023-11-13 20:47:14 +08:00
parent 7ac1d54132
commit cf21c8e56f
3 changed files with 9 additions and 9 deletions

View file

@ -56,7 +56,7 @@ def anti_aliasing_enum():
]
class PreviewAnimationModel(BaseSettingsModel):
class CreateReviewModel(BaseSettingsModel):
review_width: int = Field(1920, title="Review Width")
review_height: int = Field(1080, title="Review Height")
percentSize: float = Field(100.0, title="Percent of Output")
@ -80,7 +80,7 @@ class PreviewAnimationModel(BaseSettingsModel):
vp_texture: bool = Field(True, title="Viewport Texture")
DEFAULT_PREVIEW_ANIMATION_SETTINGS = {
DEFAULT_CREATE_REVIEW_SETTINGS = {
"review_width": 1920,
"review_height": 1080,
"percentSize": 100.0,

View file

@ -4,8 +4,8 @@ from .imageio import ImageIOSettings
from .render_settings import (
RenderSettingsModel, DEFAULT_RENDER_SETTINGS
)
from .preview_animation import (
PreviewAnimationModel, DEFAULT_PREVIEW_ANIMATION_SETTINGS
from .create_review_settings import (
CreateReviewModel, DEFAULT_CREATE_REVIEW_SETTINGS
)
from .publishers import (
PublishersModel, DEFAULT_PUBLISH_SETTINGS
@ -32,9 +32,9 @@ class MaxSettings(BaseSettingsModel):
default_factory=RenderSettingsModel,
title="Render Settings"
)
CreateReview: PreviewAnimationModel = Field(
default_factory=PreviewAnimationModel,
title="Preview Animation"
CreateReview: CreateReviewModel = Field(
default_factory=CreateReviewModel,
title="Create Review"
)
PointCloud: PointCloudSettings = Field(
default_factory=PointCloudSettings,
@ -47,7 +47,7 @@ class MaxSettings(BaseSettingsModel):
DEFAULT_VALUES = {
"RenderSettings": DEFAULT_RENDER_SETTINGS,
"CreateReview": DEFAULT_PREVIEW_ANIMATION_SETTINGS,
"CreateReview": DEFAULT_CREATE_REVIEW_SETTINGS,
"PointCloud": {
"attribute": [
{"name": "Age", "value": "age"},

View file

@ -1 +1 @@
__version__ = "0.1.1"
__version__ = "0.1.2"