mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add dedicated macros for property name extraction
* Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NOEDITOR
This commit is contained in:
parent
d8650fb182
commit
b657d0c76c
23 changed files with 211 additions and 190 deletions
|
@ -811,7 +811,7 @@ PhysicsServer::~PhysicsServer() {
|
|||
Vector<PhysicsServerManager::ClassInfo> PhysicsServerManager::physics_servers;
|
||||
int PhysicsServerManager::default_server_id = -1;
|
||||
int PhysicsServerManager::default_server_priority = -1;
|
||||
const String PhysicsServerManager::setting_property_name("physics/3d/physics_engine");
|
||||
const String PhysicsServerManager::setting_property_name(PNAME("physics/3d/physics_engine"));
|
||||
|
||||
void PhysicsServerManager::on_servers_changed() {
|
||||
String physics_servers2("DEFAULT");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue