Skip to content

Commit d3ecfeb

Browse files
committed
Update OpenVDBLink.m
whitespace Signed-off-by: ghurstunither <[email protected]>
1 parent 7e62378 commit d3ecfeb

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

openvdb_wolfram/OpenVDBLink/OpenVDBLink.m

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,11 +1259,11 @@
12591259
iOpenVDBDocumentation["Notebook"] := notebookDocumentation[]
12601260

12611261

1262-
iOpenVDBDocumentation["Update"] :=
1263-
(
1264-
Quiet[DeleteFile[$vdbDoc]];
1265-
notebookDocumentation[]
1266-
)
1262+
iOpenVDBDocumentation["Update"] :=
1263+
(
1264+
Quiet[DeleteFile[$vdbDoc]];
1265+
notebookDocumentation[]
1266+
)
12671267

12681268

12691269
iOpenVDBDocumentation[___] = $Failed;
@@ -1286,23 +1286,23 @@
12861286
notebookDocumentation[] /; FileExistsQ[$vdbDoc] := NotebookOpen[$vdbDoc]
12871287

12881288

1289-
notebookDocumentation[] :=
1290-
Block[{zip},
1291-
If[!FileExistsQ[$vdbDocDir],
1292-
CreateDirectory[$vdbDocDir];
1293-
];
1294-
1295-
zip = URLDownload[$vdbDocURL, $vdbDocDir];
1296-
(
1297-
Quiet[
1298-
ExtractArchive[zip, $vdbDocDir, FileNameTake[$vdbDoc]];
1299-
DeleteFile[zip];
1300-
];
1301-
1302-
NotebookOpen[$vdbDoc] /; FileExistsQ[$vdbDoc]
1303-
1304-
) /; FileExistsQ[zip]
1305-
]
1289+
notebookDocumentation[] :=
1290+
Block[{zip},
1291+
If[!FileExistsQ[$vdbDocDir],
1292+
CreateDirectory[$vdbDocDir];
1293+
];
1294+
1295+
zip = URLDownload[$vdbDocURL, $vdbDocDir];
1296+
(
1297+
Quiet[
1298+
ExtractArchive[zip, $vdbDocDir, FileNameTake[$vdbDoc]];
1299+
DeleteFile[zip];
1300+
];
1301+
1302+
NotebookOpen[$vdbDoc] /; FileExistsQ[$vdbDoc]
1303+
1304+
) /; FileExistsQ[zip]
1305+
]
13061306

13071307

13081308
notebookDocumentation[___] = $Failed;

0 commit comments

Comments
 (0)