ren: BestResolutionPrimUpStrategy -> BestResolutionPrimCropPadStrategy
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
# V1.1.1
|
||||
|
||||
- This `CHANGELOG.md` file.
|
||||
- Prim-node rename (class and internal name, too): `Upscale Strategy (Best-Res)` -> `Crop-Pad Strategy (Best-Res)`
|
||||
|
||||
# V1.1.0
|
||||
|
||||
The minimally-complete version (full workflow coverage for my own use-case).
|
||||
|
||||
+2
-2
@@ -15,8 +15,8 @@ NODE_CLASS_MAPPINGS: _t.Dict[str, type] = {
|
||||
"BestResolutionFromAspectRatio": BestResolutionFromAspectRatio,
|
||||
"BestResolutionSimple": BestResolutionSimple,
|
||||
|
||||
"BestResolutionPrimCropPadStrategy": BestResolutionPrimCropPadStrategy,
|
||||
"BestResolutionPrimResPriority": BestResolutionPrimResPriority,
|
||||
"BestResolutionPrimUpStrategy": BestResolutionPrimUpStrategy,
|
||||
|
||||
"BestResolutionUpscaledCropPad": BestResolutionUpscaledCropPad,
|
||||
}
|
||||
@@ -26,8 +26,8 @@ NODE_DISPLAY_NAME_MAPPINGS: _t.Dict[str, str] = {
|
||||
"BestResolutionFromAspectRatio": "Best-Res (ratio)",
|
||||
"BestResolutionSimple": "Best-Res (simple)",
|
||||
|
||||
"BestResolutionPrimCropPadStrategy": "Crop-Pad Strategy (Best-Res)",
|
||||
"BestResolutionPrimResPriority": "Priority (Best-Res)",
|
||||
"BestResolutionPrimUpStrategy": "Upscale Strategy (Best-Res)",
|
||||
|
||||
"BestResolutionUpscaledCropPad": "Upscaled Crop/Pad (Best-Res)",
|
||||
}
|
||||
|
||||
+2
-2
@@ -98,11 +98,11 @@ def _up_strategy_verify(strategy: _t.Union[RoundingPriority, str]) -> str:
|
||||
return str(strategy)
|
||||
|
||||
|
||||
class BestResolutionPrimUpStrategy:
|
||||
class BestResolutionPrimCropPadStrategy:
|
||||
"""
|
||||
'strategy' selector for "Upscaled Crop/Pad" node in "Best Resolution" pack.
|
||||
"""
|
||||
NODE_NAME = 'BestResolutionPrimUpStrategy'
|
||||
NODE_NAME = 'BestResolutionPrimCropPadStrategy'
|
||||
CATEGORY = _meta.category
|
||||
DESCRIPTION = _format_docstring(_cleandoc(__doc__))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user