Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
community
godot
Commits
3ec9e26c
Commit
3ec9e26c
authored
Aug 27, 2017
by
Rémi Verschelde
Committed by
GitHub
Aug 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10669 from hpvb/fix-6118
Add several missing Null checks in _notification
parents
68fc2146
9a1d9a41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
collision_polygon_editor_plugin.cpp
editor/plugins/collision_polygon_editor_plugin.cpp
+3
-0
grid_map_editor_plugin.cpp
modules/gridmap/grid_map_editor_plugin.cpp
+3
-0
No files found.
editor/plugins/collision_polygon_editor_plugin.cpp
View file @
3ec9e26c
...
...
@@ -48,6 +48,9 @@ void CollisionPolygonEditor::_notification(int p_what) {
}
break
;
case
NOTIFICATION_PROCESS
:
{
if
(
!
node
)
{
return
;
}
if
(
node
->
get_depth
()
!=
prev_depth
)
{
_polygon_draw
();
...
...
modules/gridmap/grid_map_editor_plugin.cpp
View file @
3ec9e26c
...
...
@@ -835,6 +835,9 @@ void GridMapEditor::_notification(int p_what) {
duplicate_instance
=
RID
();
}
else
if
(
p_what
==
NOTIFICATION_PROCESS
)
{
if
(
!
node
)
{
return
;
}
Transform
xf
=
node
->
get_global_transform
();
...
...
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