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
9a1d9a41
Commit
9a1d9a41
authored
Aug 26, 2017
by
Hein-Pieter van Braam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add several missing Null checks in _notification
This fixes #6118
parent
53c00109
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 @
9a1d9a41
...
...
@@ -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 @
9a1d9a41
...
...
@@ -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