Roto Brush: Cmd/Ctrl-drag resizes the brush, and the tool options show its Diameter (#509)
Cause: the Roto Brush and Refine Edge diameters live in the editor state and the roto.options command sets them, but the UI never did: the Layer panel only painted strokes and the bottom bar only set the view mode, so the brush size could not be changed. Fix, as in After Effects: Cmd-drag (Ctrl-drag on Windows and Linux) in the Layer panel resizes the active brush (Roto Brush or Refine Edge) without painting. The circle stays at the press point, its edge follows the pointer, and the size is shown while dragging. The tools bar shows a Diameter field (header.roto.diameter) while a Roto Brush tool is active. Both go through roto.options, and the next stroke uses the new radius. Diameter is in all four interface catalogs. Test: roto_brush_ctrl_drag_resizes_the_brush (a 20 px Cmd/Ctrl-drag makes a 40 px brush and paints nothing, the next stroke's radius is half of it, and the Diameter field is registered). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QiAJeFttZp83Fh7YuzAR5f (cherry picked from commit b4183c28eea34ba097d7a16153b84fcf7aeea045)
This commit is contained in:
@@ -286,6 +286,7 @@ const JAPANESE: &[(&str, &str)] = &[
|
||||
("Maximize Panel", "パネルを最大化"),
|
||||
("Media Replacement", "メディアの置き換え"),
|
||||
("Mesh:", "メッシュ:"),
|
||||
("Diameter:", "直径:"),
|
||||
("Method Used: {} Average Error: {} pixels", "使用した手法:{} 平均誤差:{}ピクセル"),
|
||||
("Models folder: {}", "モデルフォルダー:{}"),
|
||||
("Modifiers:", "修飾キー:"),
|
||||
@@ -721,6 +722,7 @@ const SIMPLIFIED_CHINESE: &[(&str, &str)] = &[
|
||||
("Maximize Panel", "最大化面板"),
|
||||
("Media Replacement", "媒体替换"),
|
||||
("Mesh:", "网格:"),
|
||||
("Diameter:", "直径:"),
|
||||
("Method Used: {} Average Error: {} pixels", "使用方法:{} 平均误差:{} 像素"),
|
||||
("Models folder: {}", "模型文件夹:{}"),
|
||||
("Modifiers:", "修饰键:"),
|
||||
@@ -1244,6 +1246,7 @@ const TRADITIONAL_CHINESE: &[(&str, &str)] = &[
|
||||
("Maximize Panel", "最大化面板"),
|
||||
("Media Replacement", "媒體替換"),
|
||||
("Mesh:", "格點:"),
|
||||
("Diameter:", "直徑:"),
|
||||
("Method Used: {} Average Error: {} pixels", "使用方法:{} 平均誤差:{} 像素"),
|
||||
("Models folder: {}", "模型資料夾:{}"),
|
||||
("Modifiers:", "修飾鍵:"),
|
||||
@@ -1757,6 +1760,7 @@ const UKRAINIAN: &[(&str, &str)] = &[
|
||||
("Maximize Panel", "Розгорнути панель"),
|
||||
("Media Replacement", "Заміна матеріалу"),
|
||||
("Mesh:", "Сітка:"),
|
||||
("Diameter:", "Діаметр:"),
|
||||
("Method Used: {} Average Error: {} pixels", "Використаний метод: {} Середня похибка: {} пікселів"),
|
||||
("Models folder: {}", "Тека моделей: {}"),
|
||||
("Modifiers:", "Модифікатори:"),
|
||||
|
||||
Reference in New Issue
Block a user