Merge remote-tracking branch 'origin/1.11' into 1.11
This commit is contained in:
@@ -12,7 +12,7 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#define ImplementPhysicsDebug void DrawPhysicsDebug(RenderView& view)
|
#define ImplementPhysicsDebug void DrawPhysicsDebug(RenderView& view) override
|
||||||
#else
|
#else
|
||||||
#define ImplementPhysicsDebug
|
#define ImplementPhysicsDebug
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -258,7 +258,10 @@ bool MacPlatform::Init()
|
|||||||
|
|
||||||
// Get device id
|
// Get device id
|
||||||
{
|
{
|
||||||
io_registry_entry_t ioRegistryRoot = IORegistryEntryFromPath(kIOMasterPortDefault, "IOService:/");
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < 120000
|
||||||
|
#define kIOMainPortDefault kIOMasterPortDefault
|
||||||
|
#endif
|
||||||
|
io_registry_entry_t ioRegistryRoot = IORegistryEntryFromPath(kIOMainPortDefault, "IOService:/");
|
||||||
CFStringRef deviceUuid = (CFStringRef)IORegistryEntryCreateCFProperty(ioRegistryRoot, CFSTR(kIOPlatformUUIDKey), kCFAllocatorDefault, 0);
|
CFStringRef deviceUuid = (CFStringRef)IORegistryEntryCreateCFProperty(ioRegistryRoot, CFSTR(kIOPlatformUUIDKey), kCFAllocatorDefault, 0);
|
||||||
IOObjectRelease(ioRegistryRoot);
|
IOObjectRelease(ioRegistryRoot);
|
||||||
String uuidStr = AppleUtils::ToString(deviceUuid);
|
String uuidStr = AppleUtils::ToString(deviceUuid);
|
||||||
|
|||||||
@@ -344,5 +344,11 @@ namespace FlaxEngine.GUI
|
|||||||
|
|
||||||
base.PerformLayoutBeforeChildren();
|
base.PerformLayoutBeforeChildren();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
return $"{GetType()}, '{ConvertedText()}'";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user