[nodes/blender] rename RenderAnimatedCamera to ScenePreview

This commit is contained in:
Loïc Vital 2023-05-30 11:19:57 +02:00
parent 1e74c00d8b
commit 3a993a9d82
2 changed files with 4 additions and 4 deletions

View file

@ -1,14 +1,14 @@
__version__ = "2.0" __version__ = "1.0"
from meshroom.core import desc from meshroom.core import desc
import os.path import os.path
currentDir = os.path.dirname(os.path.abspath(__file__)) currentDir = os.path.dirname(os.path.abspath(__file__))
class RenderAnimatedCamera(desc.CommandLineNode): class ScenePreview(desc.CommandLineNode):
commandLine = '{blenderCmdValue} -b --python {scriptValue} -- {allParams}' commandLine = '{blenderCmdValue} -b --python {scriptValue} -- {allParams}'
category = 'Visualization' category = 'Utils'
documentation = ''' documentation = '''
This node uses Blender to visualize a 3D model from a given set of cameras. This node uses Blender to visualize a 3D model from a given set of cameras.
The cameras must be a SfMData file in JSON format. The cameras must be a SfMData file in JSON format.
@ -29,7 +29,7 @@ One frame per viewpoint will be rendered, and the undistorted views can optional
name='script', name='script',
label='Script', label='Script',
description='Path to the internal script for rendering in Blender', description='Path to the internal script for rendering in Blender',
value=os.path.join(currentDir, 'scripts' ,'renderAnimatedCameraInBlender.py'), value=os.path.join(currentDir, 'scripts' ,'preview.py'),
uid=[], uid=[],
group='', group='',
advanced=True, advanced=True,