Merge pull request #37372 from dankan1890/quick_fix
Fixed probable typo in renaming.
This commit is contained in:
commit
bbbdabc771
4 changed files with 6 additions and 6 deletions
|
@ -31,7 +31,7 @@
|
||||||
#include "core/input/input_filter.h"
|
#include "core/input/input_filter.h"
|
||||||
#include "core/os/os.h"
|
#include "core/os/os.h"
|
||||||
#include "scene/resources/surface_tool.h"
|
#include "scene/resources/surface_tool.h"
|
||||||
#include "servers/visual/visual_server_globals.h"
|
#include "servers/rendering/rendering_server_globals.h"
|
||||||
|
|
||||||
#import <ARKit/ARKit.h>
|
#import <ARKit/ARKit.h>
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(VULKAN_ENABLED)
|
#if defined(VULKAN_ENABLED)
|
||||||
#include "servers/visual/rasterizer_rd/rasterizer_rd.h"
|
#include "servers/rendering/rasterizer_rd/rasterizer_rd.h"
|
||||||
|
|
||||||
#include <QuartzCore/CAMetalLayer.h>
|
#include <QuartzCore/CAMetalLayer.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -373,7 +373,7 @@ void RigidBody2D::_direct_state_changed(Object *p_state) {
|
||||||
#ifdef DEBUG_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
state = Object::cast_to<PhysicsDirectBodyState2D>(p_state);
|
state = Object::cast_to<PhysicsDirectBodyState2D>(p_state);
|
||||||
#else
|
#else
|
||||||
state = (Physics2DDirectBodyState *)p_state; //trust it
|
state = (PhysicsDirectBodyState2D *)p_state; //trust it
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
set_block_transform_notify(true); // don't want notify (would feedback loop)
|
set_block_transform_notify(true); // don't want notify (would feedback loop)
|
||||||
|
|
|
@ -374,7 +374,7 @@ void RigidBody3D::_direct_state_changed(Object *p_state) {
|
||||||
#ifdef DEBUG_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
state = Object::cast_to<PhysicsDirectBodyState3D>(p_state);
|
state = Object::cast_to<PhysicsDirectBodyState3D>(p_state);
|
||||||
#else
|
#else
|
||||||
state = (PhysicsDirectBodyState *)p_state; //trust it
|
state = (PhysicsDirectBodyState3D *)p_state; //trust it
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
set_ignore_transform_notification(true);
|
set_ignore_transform_notification(true);
|
||||||
|
@ -1300,7 +1300,7 @@ void KinematicBody3D::_direct_state_changed(Object *p_state) {
|
||||||
#ifdef DEBUG_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
PhysicsDirectBodyState3D *state = Object::cast_to<PhysicsDirectBodyState3D>(p_state);
|
PhysicsDirectBodyState3D *state = Object::cast_to<PhysicsDirectBodyState3D>(p_state);
|
||||||
#else
|
#else
|
||||||
PhysicsDirectBodyState *state = (PhysicsDirectBodyState *)p_state; //trust it
|
PhysicsDirectBodyState3D *state = (PhysicsDirectBodyState3D *)p_state; //trust it
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
linear_velocity = state->get_linear_velocity();
|
linear_velocity = state->get_linear_velocity();
|
||||||
|
@ -2106,7 +2106,7 @@ void PhysicalBone3D::_direct_state_changed(Object *p_state) {
|
||||||
#ifdef DEBUG_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
state = Object::cast_to<PhysicsDirectBodyState3D>(p_state);
|
state = Object::cast_to<PhysicsDirectBodyState3D>(p_state);
|
||||||
#else
|
#else
|
||||||
state = (PhysicsDirectBodyState *)p_state; //trust it
|
state = (PhysicsDirectBodyState3D *)p_state; //trust it
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Transform global_transform(state->get_transform());
|
Transform global_transform(state->get_transform());
|
||||||
|
|
Loading…
Reference in a new issue