Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Marte Engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
The Experience Architects
Marte
Marte Engine
Commits
7b67c585
Unverified
Commit
7b67c585
authored
Mar 11, 2019
by
Rémi Verschelde
Committed by
GitHub
Mar 11, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #26901 from KidRigger/anim_crash
Prevents a Null Reference in deleting Animations.
parents
154b6f01
d6e4a08c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
editor/animation_track_editor.cpp
editor/animation_track_editor.cpp
+4
-0
No files found.
editor/animation_track_editor.cpp
View file @
7b67c585
...
...
@@ -3424,6 +3424,10 @@ void AnimationTrackEditor::_animation_update() {
bool
same
=
true
;
if
(
animation
.
is_null
())
{
return
;
}
if
(
track_edits
.
size
()
==
animation
->
get_track_count
())
{
//check tracks are the same
...
...
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