Skip to content

Commit

Permalink
0.371.0.276568
Browse files Browse the repository at this point in the history
  • Loading branch information
Roblox-Client-Tracker committed Feb 6, 2019
1 parent acc9482 commit 1f37102
Show file tree
Hide file tree
Showing 171 changed files with 10,107 additions and 1,611 deletions.
324 changes: 267 additions & 57 deletions API-Dump.json

Large diffs are not rendered by default.

32 changes: 23 additions & 9 deletions API-Dump.txt
Expand Up @@ -241,6 +241,15 @@ Class RocketPropulsion : BodyMover
Function void RocketPropulsion:Fire()
Function void RocketPropulsion:fire() [Deprecated]
Event RocketPropulsion.ReachedTarget()
Class BrowserService : Instance [NotCreatable] [Service] [NotReplicated]
Function void BrowserService:CloseBrowserWindow() {RobloxScriptSecurity}
Function void BrowserService:EmitHybridEvent(string moduleName, string eventName, string params) {RobloxScriptSecurity}
Function void BrowserService:OpenBrowserWindow(string url) {RobloxScriptSecurity}
Function void BrowserService:OpenNativeOverlay(string title, string url) {RobloxScriptSecurity}
Function void BrowserService:ReturnToJavaScript(string callbackId, bool success, string params) {RobloxScriptSecurity}
Event BrowserService.BrowserWindowClosed() {RobloxScriptSecurity}
Event BrowserService.BrowserWindowWillNavigate(string url) {RobloxScriptSecurity}
Event BrowserService.JavaScriptCallback(string content) {RobloxScriptSecurity}
Class CacheableContentProvider : Instance [NotCreatable] [Service] [NotReplicated]
Class MeshContentProvider : CacheableContentProvider [NotCreatable] [Service] [NotReplicated]
Class SolidModelContentProvider : CacheableContentProvider [NotCreatable] [Service] [NotReplicated]
Expand Down Expand Up @@ -357,6 +366,7 @@ Class Constraint : Instance [NotCreatable]
Property bool Constraint.Active [<💾> Save-only] [ReadOnly] [NotReplicated]
Property bool Constraint.Enabled
Class AlignOrientation : Constraint
Property Enum<AlignType> AlignOrientation.AlignType
Property bool AlignOrientation.PrimaryAxisOnly
Property bool AlignOrientation.ReactionTorqueEnabled
Property bool AlignOrientation.RigidityEnabled
Expand Down Expand Up @@ -1080,8 +1090,8 @@ Class GuiService : Instance [NotCreatable] [Service] [NotReplicated]
Function string GuiService:GetUiMessage() {RobloxScriptSecurity}
Function bool GuiService:IsMemoryTrackerEnabled() {RobloxScriptSecurity}
Function bool GuiService:IsTenFootInterface()
Function void GuiService:OpenBrowserWindow(string url) {RobloxScriptSecurity}
Function void GuiService:OpenNativeOverlay(string title, string url) {RobloxScriptSecurity}
Function void GuiService:OpenBrowserWindow(string url) {RobloxScriptSecurity} [Deprecated]
Function void GuiService:OpenNativeOverlay(string title, string url) {RobloxScriptSecurity} [Deprecated]
Function void GuiService:RemoveCenterDialog(Instance dialog) {RobloxScriptSecurity}
Function void GuiService:RemoveKey(string key) {RobloxScriptSecurity}
Function void GuiService:RemoveSelectionGroup(string selectionName)
Expand All @@ -1092,7 +1102,7 @@ Class GuiService : Instance [NotCreatable] [Service] [NotReplicated]
Function void GuiService:SetUiMessage(Enum<UiMessageType> msgType, string uiMessage = "errorCode") {LocalUserSecurity}
Function bool GuiService:ShowStatsBasedOnInputString(string input) {RobloxScriptSecurity}
Function void GuiService:ToggleFullscreen() {RobloxScriptSecurity}
Event GuiService.BrowserWindowClosed() {RobloxScriptSecurity}
Event GuiService.BrowserWindowClosed() {RobloxScriptSecurity} [Deprecated]
Event GuiService.ErrorMessageChanged(string newErrorMessage) {RobloxScriptSecurity} [Deprecated]
Event GuiService.KeyPressed(string key, string modifiers) {RobloxScriptSecurity}
Event GuiService.MenuClosed()
Expand Down Expand Up @@ -2056,6 +2066,7 @@ Class Players : Instance [NotCreatable] [Service]
Property int Players.NumPlayers [ReadOnly] [NotReplicated] [Deprecated]
Property int Players.PreferredPlayers [ReadOnly] [NotReplicated]
Property int Players.PreferredPlayersInternal {LocalUserSecurity}
Property float Players.RespawnTime
Property Instance Players.localPlayer [Hidden] [ReadOnly] [NotReplicated] [Deprecated]
Property int Players.numPlayers [Hidden] [ReadOnly] [NotReplicated] [Deprecated]
Function void Players:Chat(string message) {PluginSecurity}
Expand Down Expand Up @@ -2103,7 +2114,7 @@ Class Plugin : Instance [NotCreatable]
Function Enum<RibbonTool> Plugin:GetSelectedRibbonTool() {PluginSecurity}
Function Variant Plugin:GetSetting(string key) {PluginSecurity}
Function int64 Plugin:GetStudioUserId() {PluginSecurity}
Function void Plugin:ImportFbxAnimation(Instance rigModel) {PluginSecurity}
Function Instance Plugin:ImportFbxAnimation(Instance rigModel) {PluginSecurity} [Yields]
Function Instance Plugin:ImportFbxRig() {PluginSecurity} [Yields]
Function bool Plugin:IsActivated() {PluginSecurity}
Function bool Plugin:IsActivatedWithExclusiveMouse() {PluginSecurity}
Expand Down Expand Up @@ -2151,8 +2162,7 @@ Class PluginMenu : Instance [NotCreatable] [NotReplicated]
Function void PluginMenu:Clear() {PluginSecurity}
Function Instance PluginMenu:ShowAsync() {PluginSecurity} [Yields]
Class PluginToolbar : Instance [NotCreatable]
Function Instance PluginToolbar:CreateButton(string text, string tooltip, string iconname) {PluginSecurity}
Function Instance PluginToolbar:CreateButtonWithId(string buttonId, string text, string tooltip, string iconname) {PluginSecurity}
Function Instance PluginToolbar:CreateButton(string buttonId, string tooltip, string iconname, string text = "") {PluginSecurity}
Class PluginToolbarButton : Instance [NotCreatable]
Property bool PluginToolbarButton.ClickableWhenViewportHidden [<📁> Load-only] [NotReplicated]
Property bool PluginToolbarButton.Enabled [<📁> Load-only] [NotReplicated]
Expand Down Expand Up @@ -2568,11 +2578,8 @@ Class Studio : Instance [Service] [NotReplicated]
Property bool Studio.Enable Intellisense [<📁> Load-only] [NotReplicated] [Deprecated]
Property bool Studio.Import mesh files as single mesh
Property bool Studio.Respect Studio shortcuts when game has focus
Property bool Studio.Show Core GUI in Explorer while Playing
Property bool Studio.Show Diagnostics Bar
Property bool Studio.Show Plugin GUI Service in Explorer
Property bool Studio.Show QT warnings in output
Property bool Studio.Show plus button on hover in Explorer
Property bool Studio.Only Play Audio from Window in Focus
Property Enum<ServerAudioBehavior> Studio.Server Audio Behavior
Property bool Studio.Auto-Save Enabled
Expand All @@ -2590,6 +2597,10 @@ Class Studio : Instance [Service] [NotReplicated]
Property QDir Studio.OverrideCoreScriptsDir
Property QDir Studio.PluginsDir
Property QDir Studio.RecentSavesDir
Property bool Studio.Show Core GUI in Explorer while Playing
Property bool Studio.Show Hidden Objects in Explorer
Property bool Studio.Show Plugin GUI Service in Explorer
Property bool Studio.Show plus button on hover in Explorer
Property bool Studio.Always Save Script Changes
Property Enum<ListDisplayMode> Studio.Basic Objects Display Mode
Property int Studio.Render Throttle Percentage
Expand Down Expand Up @@ -3068,6 +3079,9 @@ Enum ActuatorType
EnumItem ActuatorType.None : 0
EnumItem ActuatorType.Motor : 1
EnumItem ActuatorType.Servo : 2
Enum AlignType
EnumItem AlignType.Parallel : 0
EnumItem AlignType.Perpendicular : 1
Enum AnimationPriority
EnumItem AnimationPriority.Idle : 0
EnumItem AnimationPriority.Movement : 1
Expand Down
Binary file modified BuiltInPlugins/AnimationEditorRigBuilder.rbxm
Binary file not shown.
Expand Up @@ -4,25 +4,28 @@ local ImportFBXAnimation = {}

function ImportFBXAnimation:execute(Paths)
local dummy = Paths.DataModelRig:getItem().Item.Parent
--Sanity check
-- Sanity check
if dummy:FindFirstChild("InitialPoses") then
Paths.DataModelSession:resetAnimation()
local conn = nil
conn = workspace.ChildAdded:connect(function(c)
if c.Name == "ImportedAnimation" then
--Move to AnimSaves
if dummy:FindFirstChild("AnimSaves") == nil then
local m = Instance.new("Model", dummy)
m.Name = "AnimSaves"
end
wait()
c.Parent = dummy.AnimSaves
c.Priority = "Core" --move this to C++ at some point
Paths.DataModelKeyframes:loadKeyframeSequence(c)
conn:disconnect()

local function onAnimationImported(kfs)
-- Move to AnimSaves
if dummy:FindFirstChild("AnimSaves") == nil then
local m = Instance.new("Model", dummy)
m.Name = "AnimSaves"
end
end)
Paths.Globals.Plugin:ImportFbxAnimation(dummy)

kfs.Parent = dummy.AnimSaves
kfs.Priority = "Core" -- move this to C++ at some point
Paths.DataModelKeyframes:loadKeyframeSequence(kfs)
end

local success, kfsOrErr = pcall(function() return Paths.Globals.Plugin:ImportFbxAnimation(dummy) end)
if success then
onAnimationImported(kfsOrErr)
else
print("Error importing FBX animation: " ..kfsOrErr)
end
else
warn("Rig does not have initial pose data. Rig must be imported via FBX to use this feature!")
end
Expand Down
Binary file modified BuiltInPlugins/AvatarImporter.rbxm
Binary file not shown.
4 changes: 4 additions & 0 deletions BuiltInPlugins/AvatarImporter/FastFlags.lua
Expand Up @@ -20,4 +20,8 @@ function FastFlags:isEnableAvatarImporterOn()
return isFlagOn("StudioEnableAvatarImporter")
end

function FastFlags:isBundleConfigurationEnabled()
return isFlagOn("DebugAvatarImporterBundleConfiguration")
end

return FastFlags
40 changes: 40 additions & 0 deletions BuiltInPlugins/AvatarImporter/configurer/CharacterTester.lua
@@ -0,0 +1,40 @@
local CharacterTester = {}

local StarterPlayer = game:GetService("StarterPlayer")

local function removeExistingStarterCharacter()
while true do
local starterCharacter = StarterPlayer:FindFirstChild("StarterCharacter")
if starterCharacter then
starterCharacter:Destroy()
else
break
end
end
end

local function addAccessoriesFromWorkspace(character)
-- Clone accessories into character
for _, accessory in pairs(game.Workspace:GetChildren()) do
if accessory:IsA("Accessory") then
local newAccessory = accessory:Clone()
newAccessory.Parent = character
end
end
end

function CharacterTester.SetupCharacterForTesting(characterToTest)
if not characterToTest then
return
end

removeExistingStarterCharacter()

local newCharacter = characterToTest:Clone()
addAccessoriesFromWorkspace(newCharacter)

newCharacter.Name = "StarterCharacter"
newCharacter.Parent = StarterPlayer
end

return CharacterTester

0 comments on commit 1f37102

Please sign in to comment.