Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x3domlet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
x3domlet
Commits
e7e176f7
Commit
e7e176f7
authored
Jun 30, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no shootray = put z at scene's bbox z
parent
25dc5ff9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
ui_init.js
js/ui_init.js
+6
-1
x3dom_init.js
js/x3dom_init.js
+2
-1
No files found.
js/ui_init.js
View file @
e7e176f7
...
...
@@ -787,7 +787,12 @@ function x3d_events(){
// sliding marker
var
mouse
=
x3dom_getXYPosOr
(
mouse_position
[
0
],
mouse_position
[
1
],
false
);
var
dist
=
parseFloat
(
mouse
.
d_xz
)
||
1116
;
var
dist_default
=
1116
;
if
(
$
(
".GroupTop"
).
attr
(
"bboxSize"
)
!=
undefined
){
dist_default
=
parseFloat
(
$
(
".GroupTop"
).
attr
(
"bboxSize"
).
trim
().
split
(
" "
)[
2
]);
}
var
dist
=
parseFloat
(
mouse
.
d_xz
)
||
dist_default
;
Map
.
marker
.
placeSlidingMarker
(
mouse
.
a
,
dist
);
}
else
{
...
...
js/x3dom_init.js
View file @
e7e176f7
...
...
@@ -1184,7 +1184,8 @@ X3DOMObject.displayInfo = function(e){
X3DOMObject
.
displayMarkInfo
(
mouse
.
index
);
}
var
dist
=
1115
;
//var dist = 1115;
var
dist
=
parseFloat
(
$
(
".GroupTop"
).
attr
(
"bboxSize"
).
trim
().
split
(
" "
)[
2
]);
$
(
"#window-info"
).
css
({
"font-size"
:
"20px"
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment