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_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
This commit is contained in:
@ -861,7 +861,7 @@ PhysicsServer2D::~PhysicsServer2D() {
|
||||
Vector<PhysicsServer2DManager::ClassInfo> PhysicsServer2DManager::physics_2d_servers;
|
||||
int PhysicsServer2DManager::default_server_id = -1;
|
||||
int PhysicsServer2DManager::default_server_priority = -1;
|
||||
const String PhysicsServer2DManager::setting_property_name("physics/2d/physics_engine");
|
||||
const String PhysicsServer2DManager::setting_property_name(PNAME("physics/2d/physics_engine"));
|
||||
|
||||
void PhysicsServer2DManager::on_servers_changed() {
|
||||
String physics_servers("DEFAULT");
|
||||
|
||||
Reference in New Issue
Block a user