sunrize 1.10.2 → 1.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sunrize",
3
3
  "productName": "Sunrize X3D Editor",
4
- "version": "1.10.2",
4
+ "version": "1.10.4",
5
5
  "description": "A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -109,7 +109,7 @@
109
109
  "string-similarity": "^4.0.4",
110
110
  "tweakpane": "^3.1.10",
111
111
  "update-electron-app": "^3.1.1",
112
- "x_ite": "^12.0.8",
112
+ "x_ite": "^12.0.9",
113
113
  "x3d-traverse": "^1.0.13"
114
114
  }
115
115
  }
@@ -2116,7 +2116,7 @@ module .exports = class OutlineEditor extends OutlineRouteGraph
2116
2116
  {
2117
2117
  Editor .setFieldValue (this .browser .currentScene, node, node ._startTime, Date .now () / 1000);
2118
2118
 
2119
- node ._isEvenLive = true;
2119
+ node ._evenLive = true;
2120
2120
  }
2121
2121
  }
2122
2122
 
@@ -2146,7 +2146,7 @@ module .exports = class OutlineEditor extends OutlineRouteGraph
2146
2146
  Editor .setFieldValue (this .browser .currentScene, node, node ._loop, !node ._loop .getValue ());
2147
2147
 
2148
2148
  if (node ._loop .getValue () && node ._startTime .getValue () >= node ._stopTime .getValue ())
2149
- node ._isEvenLive = true;
2149
+ node ._evenLive = true;
2150
2150
  }
2151
2151
 
2152
2152
  addBooleanField (button)
@@ -1394,7 +1394,7 @@ module .exports = class OutlineView extends Interface
1394
1394
  buttons .slice (-3) .forEach (button => button .hide ());
1395
1395
 
1396
1396
  if (!node ._isActive .getValue ())
1397
- node ._isEvenLive = false;
1397
+ node ._evenLive = false;
1398
1398
  }
1399
1399
 
1400
1400
  isInParents (parent, node)
@@ -24,58 +24,118 @@ Windows Registry Editor Version 5.00
24
24
  [HKEY_CURRENT_USER\Software\Classes\.wrz\OpenWithProgids]
25
25
  "Sunrize.wrz"=""
26
26
 
27
+ [HKEY_CURRENT_USER\Software\Classes\.gltf\OpenWithProgids]
28
+ "Sunrize.gltf"=""
29
+
30
+ [HKEY_CURRENT_USER\Software\Classes\.glb\OpenWithProgids]
31
+ "Sunrize.glb"=""
32
+
33
+ [HKEY_CURRENT_USER\Software\Classes\.obj\OpenWithProgids]
34
+ "Sunrize.obj"=""
35
+
36
+ [HKEY_CURRENT_USER\Software\Classes\.stl\OpenWithProgids]
37
+ "Sunrize.stl"=""
38
+
39
+ [HKEY_CURRENT_USER\Software\Classes\.ply\OpenWithProgids]
40
+ "Sunrize.ply"=""
41
+
42
+ [HKEY_CURRENT_USER\Software\Classes\.svg\OpenWithProgids]
43
+ "Sunrize.svg"=""
44
+
27
45
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3d]
28
- @="Sunrize X3D XML File"
46
+ @="X3D XML Model"
29
47
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3d\DefaultIcon]
30
48
  @="\"SUNRIZE_EXE\",0"
31
49
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3d\shell\open\command]
32
50
  @="\"SUNRIZE_EXE\" \"%1\""
33
51
 
34
52
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dz]
35
- @="Sunrize X3D XML File"
53
+ @="X3D XML Model"
36
54
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dz\DefaultIcon]
37
55
  @="\"SUNRIZE_EXE\",0"
38
56
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dz\shell\open\command]
39
57
  @="\"SUNRIZE_EXE\" \"%1\""
40
58
 
41
59
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dv]
42
- @="Sunrize X3D Classic VRML File"
60
+ @="X3D VRML Model"
43
61
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dv\DefaultIcon]
44
62
  @="\"SUNRIZE_EXE\",0"
45
63
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dv\shell\open\command]
46
64
  @="\"SUNRIZE_EXE\" \"%1\""
47
65
 
48
66
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dvz]
49
- @="Sunrize X3D Classic VRML File"
67
+ @="X3D VRML Model"
50
68
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dvz\DefaultIcon]
51
69
  @="\"SUNRIZE_EXE\",0"
52
70
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dvz\shell\open\command]
53
71
  @="\"SUNRIZE_EXE\" \"%1\""
54
72
 
55
73
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dj]
56
- @="Sunrize X3D JSON File"
74
+ @="X3D JSON Model"
57
75
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dj\DefaultIcon]
58
76
  @="\"SUNRIZE_EXE\",0"
59
77
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3dj\shell\open\command]
60
78
  @="\"SUNRIZE_EXE\" \"%1\""
61
79
 
62
80
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3djz]
63
- @="Sunrize X3D JSON File"
81
+ @="X3D JSON Model"
64
82
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3djz\DefaultIcon]
65
83
  @="\"SUNRIZE_EXE\",0"
66
84
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.x3djz\shell\open\command]
67
85
  @="\"SUNRIZE_EXE\" \"%1\""
68
86
 
69
87
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.wrl]
70
- @="Sunrize VRML File"
88
+ @="VRML Model"
71
89
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.wrl\DefaultIcon]
72
90
  @="\"SUNRIZE_EXE\",0"
73
91
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.wrl\shell\open\command]
74
92
  @="\"SUNRIZE_EXE\" \"%1\""
75
93
 
76
94
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.wrz]
77
- @="Sunrize VRML File"
95
+ @="VRML Model"
78
96
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.wrz\DefaultIcon]
79
97
  @="\"SUNRIZE_EXE\",0"
80
98
  [HKEY_CURRENT_USER\Software\Classes\Sunrize.wrz\shell\open\command]
81
99
  @="\"SUNRIZE_EXE\" \"%1\""
100
+
101
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.gltf]
102
+ @="glTF Model"
103
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.gltf\DefaultIcon]
104
+ @="\"SUNRIZE_EXE\",0"
105
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.gltf\shell\open\command]
106
+ @="\"SUNRIZE_EXE\" \"%1\""
107
+
108
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.glb]
109
+ @="glTF Model"
110
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.glb\DefaultIcon]
111
+ @="\"SUNRIZE_EXE\",0"
112
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.glb\shell\open\command]
113
+ @="\"SUNRIZE_EXE\" \"%1\""
114
+
115
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.obj]
116
+ @="Wavefront OBJ Model"
117
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.obj\DefaultIcon]
118
+ @="\"SUNRIZE_EXE\",0"
119
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.obj\shell\open\command]
120
+ @="\"SUNRIZE_EXE\" \"%1\""
121
+
122
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.stl]
123
+ @="Stereolithography Model"
124
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.stl\DefaultIcon]
125
+ @="\"SUNRIZE_EXE\",0"
126
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.stl\shell\open\command]
127
+ @="\"SUNRIZE_EXE\" \"%1\""
128
+
129
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.ply]
130
+ @="Polygon File Format"
131
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.ply\DefaultIcon]
132
+ @="\"SUNRIZE_EXE\",0"
133
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.ply\shell\open\command]
134
+ @="\"SUNRIZE_EXE\" \"%1\""
135
+
136
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.svg]
137
+ @="Scalable Vector Graphics"
138
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.svg\DefaultIcon]
139
+ @="\"SUNRIZE_EXE\",0"
140
+ [HKEY_CURRENT_USER\Software\Classes\Sunrize.svg\shell\open\command]
141
+ @="\"SUNRIZE_EXE\" \"%1\""
@@ -0,0 +1,94 @@
1
+ <html>
2
+ <head>
3
+ <meta charset="utf-8"/>
4
+ <!-- Theme -->
5
+ <link rel="stylesheet" type="text/css" href="file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/default.css"/>
6
+ </head>
7
+ <body>
8
+ <tab-group sortable="true">
9
+ <style>
10
+ ::-webkit-scrollbar {
11
+ width: 8px;
12
+ height: 8px;
13
+ }
14
+
15
+ ::-webkit-scrollbar-track, /* Track */
16
+ ::-webkit-scrollbar-thumb:window-inactive, /* Handle */
17
+ ::-webkit-scrollbar-corner { /* Corner */
18
+ background-color: transparent;
19
+ }
20
+
21
+ /* Handle */
22
+ ::-webkit-scrollbar-thumb {
23
+ background-color: var(--scrollbar-thumb-color);
24
+ }
25
+
26
+ .etabs .nav {
27
+ height: var(--window-tabs-height);
28
+ background: var(--background-color);
29
+ box-shadow: none;
30
+ border: none;
31
+ overflow-x: auto;
32
+ overflow-y: hidden;
33
+ white-space: nowrap;
34
+ }
35
+
36
+ .etabs .tab {
37
+ background: var(--window-tabs-background-color);
38
+ border-color: var(--border-color) !important;
39
+ padding: 4px 3px !important;
40
+ color: var(--window-tabs-text-color);
41
+ font-family: var(--sans-serif);
42
+ box-shadow: none;
43
+ }
44
+
45
+ .etabs .tab:first-child {
46
+ border-left: 0;
47
+ }
48
+
49
+ .etabs .tab.active {
50
+ z-index: 1100;
51
+ background: var(--background-color);
52
+ color: var(--window-tabs-highlight-color);
53
+ }
54
+
55
+ .etabs::before {
56
+ z-index: 1000;
57
+ content: "";
58
+ position: relative;
59
+ display: block;
60
+ height: 1px;
61
+ width: 100%;
62
+ box-shadow: var(--tabs-shadow);
63
+ }
64
+
65
+ .etabs .buttons {
66
+ border-color: var(--border-color);
67
+ }
68
+
69
+ .etabs .buttons:hover button,
70
+ .etabs .tab-close button:hover {
71
+ background: none;
72
+ }
73
+
74
+ .etabs .buttons button:hover,
75
+ .etabs .tab-close:hover button {
76
+ color: var(--system-gray0);
77
+ }
78
+
79
+ .etabs .tab-close button {
80
+ visibility: hidden;
81
+ }
82
+
83
+ .etabs .tab.active .tab-close button,
84
+ .etabs .tab:hover .tab-close button {
85
+ visibility: visible;
86
+ }
87
+
88
+ .etabs .tab-close {
89
+ margin-left: 4px;
90
+ }
91
+ </style>
92
+ </tab-group>
93
+ </body>
94
+ </html>
@@ -0,0 +1,37 @@
1
+ <html>
2
+ <head>
3
+ <meta charset="utf-8"/>
4
+ <link rel="stylesheet" type="text/css" href="file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/jquery-ui-dist/jquery-ui.min.css"/>
5
+ <link rel="stylesheet" type="text/css" href="file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/qtip2/dist/jquery.qtip.min.css"/>
6
+ <link rel="stylesheet" type="text/css" href="file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/default.css"/>
7
+ </head>
8
+ <body>
9
+ <div id="vertical-splitter" class="vertical-splitter">
10
+ <div class="vertical-splitter-left">
11
+ <div id="horizontal-splitter" class="horizontal-splitter">
12
+ <div class="horizontal-splitter-top">
13
+ <div id="browser-pane">
14
+ <div id="browser-frame">
15
+ <x3d-canvas
16
+ id="browser"
17
+ cache="false"
18
+ contextMenu="false"
19
+ debug="true"
20
+ preserveDrawingBuffer="true"
21
+ splashScreen="false"
22
+ xrSessionMode="NONE"></x3d-canvas>
23
+ </div>
24
+ <div id="secondary-toolbar" class="toolbar vertical-toolbar large-toolbar secondary-toolbar"></div>
25
+ </div>
26
+ </div>
27
+ <div class="horizontal-splitter-bottom">
28
+ <div id="footer"></div>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ <div class="vertical-splitter-right">
33
+ <div id="sidebar" class="sidebar"></div>
34
+ </div>
35
+ </div>
36
+ </body>
37
+ </html>
@@ -0,0 +1,12 @@
1
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/material-icons/iconfont/material-icons.css);
2
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/material-symbols/index.css);
3
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/spectrum-colorpicker2/dist/spectrum.css);
4
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/system-colors.css);
5
+
6
+ .image-icon.hand {
7
+ background-image: url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/images/icons/hand.svg);
8
+ }
9
+
10
+ .image-icon.arrow {
11
+ background-image: url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/images/icons/arrow.svg);
12
+ }
@@ -20,6 +20,10 @@ body {
20
20
  background: var(--system-gray4);
21
21
  }
22
22
 
23
+ :focus {
24
+ outline: none;
25
+ }
26
+
23
27
  #label {
24
28
  font-size: 80% !important;
25
29
  }
@@ -30,8 +34,12 @@ input {
30
34
  color: var(--text-color) !important;
31
35
  }
32
36
 
37
+ input:focus {
38
+ border-color: var(--accent-color) !important;
39
+ }
40
+
33
41
  #ok {
34
- background-color: var(--system-red) !important;
42
+ background-color: var(--accent-color) !important;
35
43
  }
36
44
 
37
45
  #cancel {
@@ -0,0 +1,56 @@
1
+ @charset "utf-8";
2
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/system-colors.css);
3
+
4
+ body {
5
+ overflow: hidden !important;
6
+ background-color: var(--background-color);
7
+ color: var(--text-color);
8
+ }
9
+
10
+ #container {
11
+ overflow: hidden !important;
12
+ }
13
+
14
+ ::placeholder {
15
+ color: var(--system-gray2);
16
+ }
17
+
18
+ ::selection {
19
+ color: var(--system-gray0);
20
+ background: var(--system-gray4);
21
+ }
22
+
23
+ :focus {
24
+ outline: none;
25
+ }
26
+
27
+ #label {
28
+ font-size: 80% !important;
29
+ }
30
+
31
+ input {
32
+ border: 1px solid var(--system-gray3) !important;
33
+ background: none !important;
34
+ color: var(--text-color) !important;
35
+ }
36
+
37
+ input:focus {
38
+ border-color: var(--accent-color) !important;
39
+ }
40
+
41
+ #ok {
42
+ background-color: var(--accent-color) !important;
43
+ }
44
+
45
+ #cancel {
46
+ border: 1px solid var(--system-gray3) !important;
47
+ background-color: transparent !important;
48
+ color: var(--text-color) !important;
49
+ }
50
+
51
+ #buttons > button,
52
+ #buttons > input[type=submit] {
53
+ border-radius: 7px !important;
54
+ padding: 0.3em 1.8em !important;
55
+ width: 100px !important;
56
+ }