mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 18:44:21 +08:00
Select render panel in render view (#1693)
* Select render panel in render view * Update SidePanel.jsx
This commit is contained in:
parent
2e74462c32
commit
ec603634ed
@ -87,6 +87,12 @@ function PanelContents(props: PanelContentsProps) {
|
||||
);
|
||||
const arrayChildren = React.Children.toArray(props.children);
|
||||
|
||||
React.useEffect(() => {
|
||||
if (camera_choice === 'Render Camera') {
|
||||
setTabState(1);
|
||||
}
|
||||
}, [camera_choice]);
|
||||
|
||||
return (
|
||||
<>
|
||||
<Box component="div" sx={{ borderBottom: 1, borderColor: 'divider' }}>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user