Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ivmi-Builder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Damien Marchal
Ivmi-Builder
Commits
c9cbeb9d
Commit
c9cbeb9d
authored
1 year ago
by
BERTHAUT Florent
Browse files
Options
Downloads
Patches
Plain Diff
Fixed missing properties in nodes
parent
a6aed180
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/IvmiNode.gd
+2
-4
2 additions, 4 deletions
core/IvmiNode.gd
techniques/control/Tunnel/TunnelPreset.gd
+1
-0
1 addition, 0 deletions
techniques/control/Tunnel/TunnelPreset.gd
with
3 additions
and
4 deletions
core/IvmiNode.gd
+
2
−
4
View file @
c9cbeb9d
...
@@ -13,7 +13,7 @@ var _can_be_selected = true
...
@@ -13,7 +13,7 @@ var _can_be_selected = true
var
_can_be_rotated
=
true
var
_can_be_rotated
=
true
var
_can_be_moved
=
true
var
_can_be_moved
=
true
func
_
init
():
func
_
ready
():
add_to_group
(
"ivmi_nodes"
)
add_to_group
(
"ivmi_nodes"
)
#add default properties
#add default properties
...
@@ -28,8 +28,6 @@ func _init():
...
@@ -28,8 +28,6 @@ func _init():
_add_property
(
"quaternion"
,[
quat
.
w
,
quat
.
x
,
quat
.
y
,
quat
.
z
])
_add_property
(
"quaternion"
,[
quat
.
w
,
quat
.
x
,
quat
.
y
,
quat
.
z
])
_add_property
(
"distance_to_camera"
,
[
0
])
_add_property
(
"distance_to_camera"
,
[
0
])
func
_ready
():
#retrieve full name within scene
#retrieve full name within scene
_full_name
=
String
(
get_path
())
.
lstrip
(
"/root/"
)
_full_name
=
String
(
get_path
())
.
lstrip
(
"/root/"
)
_full_name
=
_full_name
.
right
(
_full_name
.
find
(
"/"
)
+
1
)
_full_name
=
_full_name
.
right
(
_full_name
.
find
(
"/"
)
+
1
)
...
...
This diff is collapsed.
Click to expand it.
techniques/control/Tunnel/TunnelPreset.gd
+
1
−
0
View file @
c9cbeb9d
...
@@ -18,6 +18,7 @@ enum DATA_TYPE {curve,array,string}
...
@@ -18,6 +18,7 @@ enum DATA_TYPE {curve,array,string}
var
tunnel_param_data_script
=
preload
(
"res://addons/ivmi-builder/techniques/control/Tunnel/TunnelParamData.gd"
)
var
tunnel_param_data_script
=
preload
(
"res://addons/ivmi-builder/techniques/control/Tunnel/TunnelParamData.gd"
)
func
_ready
()
:
func
_ready
()
:
super
.
_ready
()
if
_height_curve
:
if
_height_curve
:
_height_curve
.
connect
(
"changed"
,
Callable
(
self
,
"_on_height_curve_changed"
))
_height_curve
.
connect
(
"changed"
,
Callable
(
self
,
"_on_height_curve_changed"
))
if
_color_curve
:
if
_color_curve
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment