4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 10:34:29 +08:00

small viewer bug fixes (#442)

small bug fixes
This commit is contained in:
evonneng 2022-09-16 16:08:27 -07:00 committed by GitHub
parent 84024a4e73
commit ffe2c5d92d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 31653 additions and 2 deletions

31649
nerfactory/viewer/app/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -120,7 +120,7 @@ export function RenderControls() {
// output_options
output_options: {
label: 'Output Render',
options: outputOptions,
options: [... new Set(outputOptions)],
value: outputChoice,
onChange: (v) => {
set_output_choice(v);

View File

@ -48,6 +48,8 @@ function CameraList(props) {
'Camera',
]);
transform_controls.attach(camera);
const viewer_buttons = document.getElementsByClassName("ViewerWindow-buttons")[0];
viewer_buttons.style.display = 'block';
};
const delete_camera = (index) => {

View File

@ -277,7 +277,7 @@ export default function ViewerWindow(props) {
<CameraToggle />
</div>
</div>
<div className="ViewerWindow-buttons">
<div className="ViewerWindow-buttons" style={{display: 'none'}}>
<TransformIcons sceneTree={sceneTree} />
</div>
<div className="ViewerWindow-render-crop-container">