@@ -121,8 +121,8 @@ fn collect_inputs() -> Vec<Input> {
121121 push ! ( inputs; bool , bool , true ) ;
122122 push ! ( inputs; Color , Color , Color ( 0.7 , 0.5 , 0.3 , 0.2 ) , Color :: from_rgba( 0.7 , 0.5 , 0.3 , 0.2 ) ) ;
123123 push ! ( inputs; String , GString , "hello" , GString :: from( "hello" ) ) ;
124- push ! ( inputs; StringName , StringName , & "hello" , "hello" . into ( ) ) ;
125- pushs ! ( inputs; NodePath , NodePath , r#"^"hello""# , "hello" . into ( ) , true , true , None ) ;
124+ push ! ( inputs; StringName , StringName , & "hello" , StringName :: from ( "hello" ) ) ;
125+ pushs ! ( inputs; NodePath , NodePath , r#"^"hello""# , NodePath :: from ( "hello" ) , true , true , None ) ;
126126 push ! ( inputs; Vector2 , Vector2 , Vector2 ( 12.5 , -3.5 ) , Vector2 :: new( 12.5 , -3.5 ) ) ;
127127 push ! ( inputs; Vector3 , Vector3 , Vector3 ( 117.5 , 100.0 , -323.25 ) , Vector3 :: new( 117.5 , 100.0 , -323.25 ) ) ;
128128 push ! ( inputs; Vector4 , Vector4 , Vector4 ( -18.5 , 24.75 , -1.25 , 777.875 ) , Vector4 :: new( -18.5 , 24.75 , -1.25 , 777.875 ) ) ;
@@ -171,8 +171,8 @@ fn collect_inputs() -> Vec<Input> {
171171 push_newtype ! ( inputs; bool , NewBool ( bool ) , true ) ;
172172 push_newtype ! ( inputs; Color , NewColor ( Color ) , Color ( 0.7 , 0.5 , 0.3 , 0.2 ) , NewColor ( Color :: from_rgba( 0.7 , 0.5 , 0.3 , 0.2 ) ) ) ;
173173 push_newtype ! ( inputs; String , NewString ( GString ) , "hello" , NewString ( GString :: from( "hello" ) ) ) ;
174- push_newtype ! ( inputs; StringName , NewStringName ( StringName ) , & "hello" , NewStringName ( "hello" . into ( ) ) ) ;
175- push_newtype ! ( @s inputs; NodePath , NewNodePath ( NodePath ) , r#"^"hello""# , NewNodePath ( "hello" . into ( ) ) ) ;
174+ push_newtype ! ( inputs; StringName , NewStringName ( StringName ) , & "hello" , NewStringName ( StringName :: from ( "hello" ) ) ) ;
175+ push_newtype ! ( @s inputs; NodePath , NewNodePath ( NodePath ) , r#"^"hello""# , NewNodePath ( NodePath :: from ( "hello" ) ) ) ;
176176 push_newtype ! ( inputs; Vector2 , NewVector2 ( Vector2 ) , Vector2 ( 12.5 , -3.5 ) , NewVector2 ( Vector2 :: new( 12.5 , -3.5 ) ) ) ;
177177 push_newtype ! ( inputs; Vector3 , NewVector3 ( Vector3 ) , Vector3 ( 117.5 , 100.0 , -323.25 ) , NewVector3 ( Vector3 :: new( 117.5 , 100.0 , -323.25 ) ) ) ;
178178 push_newtype ! ( inputs; Vector4 , NewVector4 ( Vector4 ) , Vector4 ( -18.5 , 24.75 , -1.25 , 777.875 ) , NewVector4 ( Vector4 :: new( -18.5 , 24.75 , -1.25 , 777.875 ) ) ) ;
0 commit comments