Skip to content

Commit

Permalink
Fixed Strings for "Masks and Keying" category
Browse files Browse the repository at this point in the history
- `FFMaskEffect` and `FFEffectCategoryKeying ` have been removed and replaced with `FFEffectCategoryMasksAndKeying` in Final Cut Pro 10.6.6 and later.
- Thanks for reporting Димитър Маратилов!
- Closes #3315
  • Loading branch information
latenitefilms committed Jan 22, 2024
1 parent 967319b commit ef0d422
Showing 1 changed file with 68 additions and 1 deletion.
69 changes: 68 additions & 1 deletion src/extensions/cp/apple/finalcutpro/plugins.lua
Expand Up @@ -132,7 +132,12 @@ local PLUGIN_TYPES = {
-- BUILT_IN_PLUGINS -> table
-- Constant
-- Table of built-in plugins
local BUILT_IN_PLUGINS = {
local BUILT_IN_PLUGINS

-- BUILT_IN_PLUGINS_10_6_5 -> table
-- Constant
-- Table of built-in plugins for 10.6.5 and earlier
local BUILT_IN_PLUGINS_10_6_5 = {
--------------------------------------------------------------------------------
-- Built-in Effects:
--------------------------------------------------------------------------------
Expand All @@ -157,6 +162,68 @@ local BUILT_IN_PLUGINS = {
},
}

-- BUILT_IN_PLUGINS_10_6_6 -> table
-- Constant
-- Table of built-in plugins for 10.6.6 and later
local BUILT_IN_PLUGINS_10_6_6 = {
--------------------------------------------------------------------------------
-- Built-in Effects:
--------------------------------------------------------------------------------
[PLUGIN_TYPES.videoEffect] = {
["FFEffectCategoryColor"] = { -- Color
"FFCorrectorColorBoard", -- Color Board
"PAEColorCurvesEffectDisplayName", -- Color Curves
"PAECorrectorEffectDisplayName", -- Color Wheels
"PAELUTEffectDisplayName", -- Custom LUT
"HDRTools::Filter Name", -- HDR Tools
"PAEHSCurvesEffectDisplayName", -- Hue/Saturation Curves
"HSVAdjust::Filter Name" -- Hue/Saturation
},
["FFEffectCategoryMasksAndKeying"] = { -- Masks and Keying
"FFCornerMask", -- Corner Mask
"FFSplineMaskEffect", -- Draw Mask
-- Graduated Mask - It's a Motion Effect
"Keyer::Filter Name", -- Green Screen Keyer
"Image Mask Name", -- Image Mask
"LumaKeyer::Filter Name", -- Luma Keyer
"FFHeVAMLMatteEffect", -- Scene Removal Mask
"FFShapeMaskEffect", -- Shape Mask
-- Vignette Mask - It's a Motion Effect
},
["Stylize"] = { -- Stylize
"DropShadow::Filter Name" -- Drop Shadow
},
["FFEffectCategoryBasics"] = { -- Basics
"FFNoiseReduction" -- Noise Reduction
},
["FFEffectCategory360"] = { -- 360°
"360 Noise Reduction::Filter Name" -- 360° Noise Reduction
},
},

--------------------------------------------------------------------------------
-- Built-in Transitions:
--------------------------------------------------------------------------------
[PLUGIN_TYPES.transition] = {
["Transitions::Dissolves"] = { "CrossDissolve::Filter Name", "DipToColorDissolve::Transition Name", "FFTransition_OpticalFlow" },
["Movements"] = { "SpinSlide::Transition Name", "Swap::Transition Name", "RippleTransition::Transition Name", "Mosaic::Transition Name", "PageCurl::Transition Name", "PuzzleSlide::Transition Name", "Slide::Transition Name" },
["Objects"] = { "Cube::Transition Name", "StarIris::Transition Name", "Doorway::Transition Name" },
["Wipes"] = { "BandWipe::Transition Name", "CenterWipe::Transition Name", "CheckerWipe::Transition Name", "ChevronWipe::Transition Name", "OvalIris::Transition Name", "ClockWipe::Transition Name", "GradientImageWipe::Transition Name", "Inset Wipe::Transition Name", "X-Wipe::Transition Name", "EdgeWipe::Transition Name" },
["Blurs"] = { "CrossZoom::Transition Name", "CrossBlur::Transition Name" },
},
}

--------------------------------------------------------------------------------
-- Load different built-in plugins depending on Final Cut Pro version:
--------------------------------------------------------------------------------
local activeVersion = fcpApp:versionString()
local currentVerison = activeVersion and v(activeVersion)
if currentVerison and currentVerison < v("10.6.6") then
BUILT_IN_PLUGINS = BUILT_IN_PLUGINS_10_6_5
else
BUILT_IN_PLUGINS = BUILT_IN_PLUGINS_10_6_6
end

-- BUILT_IN_EDEL_EFFECTS -> table
-- Constant
-- Table of Built-in Soundtrack Pro EDEL Effects.
Expand Down

0 comments on commit ef0d422

Please sign in to comment.