|
@@ -540,10 +540,11 @@ PropertyBinding.parseTrackName = function( trackName ) {
|
|
|
// uuid.objectName[objectIndex].propertyName[propertyIndex]
|
|
|
// parentName/nodeName.property
|
|
|
// parentName/parentName/nodeName.property[index]
|
|
|
- // .bone[Armature.DEF_cog].position
|
|
|
+ // .bone[Armature.DEF_cog].position
|
|
|
+ // scene:helium_balloon_model:helium_balloon_model.position
|
|
|
// created and tested via https://regex101.com/#javascript
|
|
|
|
|
|
- var re = /^((?:\w+\/)*)(\w+)?(?:\.(\w+)(?:\[(.+)\])?)?\.(\w+)(?:\[(.+)\])?$/;
|
|
|
+ var re = /^((?:\w+[\/:])*)(\w+)?(?:\.(\w+)(?:\[(.+)\])?)?\.(\w+)(?:\[(.+)\])?$/;
|
|
|
var matches = re.exec( trackName );
|
|
|
|
|
|
if ( ! matches ) {
|