Commit Graph

251 Commits

Author SHA1 Message Date
kovacsv
ca3fd182b0 Introduce node types. GroupNode is a node that contains child nodes and optionally some meshes. MeshNode is a node that contains only one mesh. MeshNodes are not visible in the tree. 2021-11-13 20:56:35 +01:00
kovacsv
6732e8bb70 Fix node naming. 2021-11-12 16:30:09 +01:00
kovacsv
f6b22eb333 Speed up svg icon change. 2021-11-12 08:30:02 +01:00
kovacsv
eaaa780c30 Minor speed improvement. 2021-11-11 15:47:52 +01:00
kovacsv
01dadfada6 Fix missing semicolon. 2021-11-11 14:51:36 +01:00
kovacsv
de8670794c Speed up mesh isolation. 2021-11-11 14:30:38 +01:00
kovacsv
52b94e5aa4 Show all meshes on view type change. 2021-11-11 12:41:58 +01:00
kovacsv
e4fbd29c16 Hide expand and collapse buttons when there is no hierarchy in the model. 2021-11-11 08:20:37 +01:00
kovacsv
55c29b0d4b Show the currently opened file name in the header. 2021-11-11 07:06:55 +01:00
kovacsv
312d0c4447 Modify meshes button generation. 2021-11-10 15:58:14 +01:00
kovacsv
e0b6b19d2e Separate css variable for selected icon color. 2021-11-10 09:59:19 +01:00
kovacsv
82fa3ec8bf Add separator to meshes panel buttons. 2021-11-10 07:45:22 +01:00
kovacsv
23fb36b2d0 Add mesh icons to the tree. 2021-11-10 07:23:48 +01:00
kovacsv
73ca7e2a8c Add meshes panel icon placeholders. 2021-11-09 07:02:46 +01:00
kovacsv
7bb6363559 Common code for splitter install. 2021-11-09 07:00:21 +01:00
kovacsv
40cdc0a93d Make navigator and sidebar the same width. 2021-11-09 06:54:47 +01:00
kovacsv
d632df2254 Modify the default width of the navigator. 2021-11-08 19:54:00 +01:00
kovacsv
ef4500f23d Minor modification. 2021-11-08 19:45:42 +01:00
kovacsv
1c867f83fe Fix meshes panel height calculation. 2021-11-08 14:25:24 +01:00
kovacsv
66959b7ad6 Add icon bar to the meshes panel. 2021-11-08 12:20:36 +01:00
kovacsv
10203e71c3 Make sidebar resizable. 2021-11-07 20:04:16 +01:00
kovacsv
b09011d39f Tooltip for navigator and sidebar buttons. 2021-11-07 19:49:08 +01:00
kovacsv
ff53c05bb2 Scroll tree elements to view even if they don't have a parent element. 2021-11-07 19:03:13 +01:00
kovacsv
4694fe640a Store navigator and sidebar opened/closed state in cookie. 2021-11-07 18:45:08 +01:00
kovacsv
34faf61b46 Highlight currently opened panel's icon. 2021-11-07 17:45:50 +01:00
kovacsv
4c7602a9d8 Modify sidebar width. 2021-11-07 17:45:37 +01:00
kovacsv
a4c0f0e95d Fine-tune panel set size and scroll behavior. 2021-11-07 17:35:29 +01:00
kovacsv
0020fa3878 Do not show the meshes root node. 2021-11-07 17:29:04 +01:00
kovacsv
b1435e5edc Modify files panel design. 2021-11-07 17:21:13 +01:00
kovacsv
4cbd1b2fef Minor modifications. 2021-11-07 15:27:41 +01:00
kovacsv
55ba530dc4 Switch files panel icon when there are missing files. 2021-11-07 11:31:31 +01:00
kovacsv
1d06bc0bce Show ambient and specular color. 2021-11-07 11:31:06 +01:00
kovacsv
01b09e08d0 Use panel set for sidebar. 2021-11-07 11:17:26 +01:00
kovacsv
557768afe6 Add mesh and material popup buttons. 2021-11-06 22:09:34 +01:00
kovacsv
3291417b31 Show and hide navigator. 2021-11-06 09:05:38 +01:00
kovacsv
dede2eaae7 Add resize callback to panel set. 2021-11-06 08:46:22 +01:00
kovacsv
316c722390 Create function from splitter class. 2021-11-06 08:36:34 +01:00
kovacsv
c088ab205f Move splitter logic in the navigator. 2021-11-06 08:26:19 +01:00
kovacsv
a1808ead20 Remove icon from node items. 2021-11-05 18:25:49 +01:00
kovacsv
d49b19c32e Modify navigator style sheet. 2021-11-05 18:14:19 +01:00
kovacsv
d8d4d1fb3e Fix mesh isolation. 2021-11-05 17:57:20 +01:00
kovacsv
26d9be2a19 Introduce panel set object, and start to use it on navigator. 2021-11-05 16:39:31 +01:00
kovacsv
a106c58c74 Rename AddButton to AppendButton in tree view. 2021-11-04 18:57:23 +01:00
kovacsv
5e6312b236 Show fit and show/hide button for all meshes in the navigator. 2021-11-04 08:42:49 +01:00
kovacsv
3423baa2b2 Hierarchical glTF import. 2021-11-02 08:40:27 +01:00
kovacsv
c639821249 Fix splitter behavior. 2021-11-01 07:48:02 +01:00
kovacsv
1b936f21b2 Replace environment map. 2021-10-31 09:30:37 +01:00
kovacsv
303d832a70 Replace environment map. 2021-10-30 13:00:52 +02:00
kovacsv
56d825281a Fix mesh isolation. 2021-10-30 10:30:37 +02:00
kovacsv
f12285be84 Implement show/hide for nodes. 2021-10-30 10:24:53 +02:00