We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 019d313 commit bc06967Copy full SHA for bc06967
src/animation/PropertyBinding.js
@@ -540,10 +540,11 @@ PropertyBinding.parseTrackName = function( trackName ) {
540
// uuid.objectName[objectIndex].propertyName[propertyIndex]
541
// parentName/nodeName.property
542
// parentName/parentName/nodeName.property[index]
543
- // .bone[Armature.DEF_cog].position
+ // .bone[Armature.DEF_cog].position
544
+ // scene:helium_balloon_model:helium_balloon_model.position
545
// created and tested via https://regex101.com/#javascript
546
- var re = /^((?:\w+\/)*)(\w+)?(?:\.(\w+)(?:\[(.+)\])?)?\.(\w+)(?:\[(.+)\])?$/;
547
+ var re = /^((?:\w+[\/:])*)(\w+)?(?:\.(\w+)(?:\[(.+)\])?)?\.(\w+)(?:\[(.+)\])?$/;
548
var matches = re.exec( trackName );
549
550
if ( ! matches ) {
0 commit comments