-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix monitoring status of Area2D and doing same logic on Area too #8242
Conversation
Nice, think you could check Area also? (it uses the same logic for 3D)
…On Mon, Apr 3, 2017 at 9:05 AM, volzhs ***@***.***> wrote:
Fix #8090 <#8090>
5b556ca
<5b556ca>
makes monitoring always true when NOTIFICATION_ENTER_TREE
This PR fix regression but not to touch what 5b556ca
<5b556ca>
tried to fix.
------------------------------
You can view, comment on, or merge this pull request online at:
#8242
Commit Summary
- Fix monitoring status of Area2D
File Changes
- *M* scene/2d/area_2d.cpp
<https://github.com/godotengine/godot/pull/8242/files#diff-0> (11)
- *M* scene/2d/area_2d.h
<https://github.com/godotengine/godot/pull/8242/files#diff-1> (1)
Patch Links:
- https://github.com/godotengine/godot/pull/8242.patch
- https://github.com/godotengine/godot/pull/8242.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8242>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z2xsRZT1oYtrjbw2D6Tj2mdcOXZoXks5rsOB7gaJpZM4MxcjZ>
.
|
@reduz @akien-mga |
It seemed in #7508 that the fix was not necessary for the master branch, only the first part of it was merged. But @LoneSurvivor would likely know better than I do :) |
@akien-mga what about Area(3D) on 2.1 branch? |
I suppose a similar fix should be done for Area, though I'm not sure, I haven't really tried to reproduce the issue @LoneSurvivor was trying to address. |
Please note this is a breaking change! I've builr with the latest sources and while running my game I've noticed my characters were not reacting. After some research, I've found this PR. Not sure it it has something to do with this, but UPDATE: |
Well, I'm a bit puzzled here. Probably the original issue had something to do with #7978. Hopefully, the current code shows the correct behavior. I'll enable monitoring on my |
Fix #8090
5b556ca makes monitoring always true when
NOTIFICATION_ENTER_TREE
This PR fix regression but not to touch what 5b556ca tried to fix.