model/blend: Anim.split type annotation

This commit is contained in:
4DBug committed 2026-11-03 01:14:12 -06:00
1 parent d64adc978f
commit 6b6a1501df
8 files changed
+380 -376

No files matched your search

+4 -3
View File
@@ -164327,10 +164327,11 @@ end
-- RNA path 'kind["name"].rest': name ends at the first unescaped '"]', rest may hold more subscripts
function Anim.split(path)
local kind, at = string.match(path, '^(%w[%w_%.]-)%["()')
local kind, pos = string.match(path, '^(%w[%w_%.]-)%["()')
if kind then
local i = at
while true do
local at= pos
local i = at
while true do
local q = string.find(path, '"', i, true)
if not q then
break