mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-31 23:38:48 +02:00
[nodes] PanoramaInit: fisheyeCenterOffset x/y are now 2 parameters on command line
Avoid error with negative values on "y" interpreted as a new argument
This commit is contained in:
parent
517014faf6
commit
dcf91c244e
2 changed files with 7 additions and 6 deletions
|
@ -51,16 +51,17 @@ class PanoramaInit(desc.CommandLineNode):
|
|||
description="Center of the Fisheye circle (XY offset to the center in pixels).",
|
||||
groupDesc=[
|
||||
desc.FloatParam(
|
||||
name="x", label="x", description="",
|
||||
name="fisheyeCenterOffset_x", label="x", description="X Offset in pixels",
|
||||
value=0.0,
|
||||
uid=[0],
|
||||
range=(-1000.0, 10000.0, 1.0)),
|
||||
desc.FloatParam(
|
||||
name="y", label="y", description="",
|
||||
name="fisheyeCenterOffset_y", label="y", description="Y Offset in pixels",
|
||||
value=0.0,
|
||||
uid=[0],
|
||||
range=(-1000.0, 10000.0, 1.0)),
|
||||
],
|
||||
group=None, # skip group from command line
|
||||
),
|
||||
desc.FloatParam(
|
||||
name='fisheyeRadius',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue