File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -487,7 +487,6 @@ export namespace ProjectUpgrader {
487487 data = {
488488 _ : "ConnectPoint" ,
489489 uuid : entity . uuid ,
490- text : entity . text ,
491490 details : toDetails ( entity . details ) ,
492491 collisionBox : {
493492 _ : "CollisionBox" ,
@@ -499,12 +498,29 @@ export namespace ProjectUpgrader {
499498 } ,
500499 ] ,
501500 } ,
502- color : toColor ( entity . color ) ,
503501 } ;
504502 break ;
505503 }
506504 case "core:url_node" : {
507505 // 链接
506+ data = {
507+ _ : "UrlNode" ,
508+ uuid : entity . uuid ,
509+ title : entity . title ,
510+ url : entity . url ,
511+ details : toDetails ( entity . details ) ,
512+ collisionBox : {
513+ _ : "CollisionBox" ,
514+ shapes : [
515+ {
516+ _ : "Rectangle" ,
517+ location : toVector ( entity . location ) ,
518+ size : toVector ( entity . size ) ,
519+ } ,
520+ ] ,
521+ } ,
522+ color : toColor ( entity . color ) ,
523+ } ;
508524 break ;
509525 }
510526 case "core:portal_node" : {
You can’t perform that action at this time.
0 commit comments