mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-22 20:00:53 +00:00
chore(): more of the same
This commit is contained in:
parent
792672c2ef
commit
d15a9b7176
@ -229,8 +229,9 @@ fn add_min_max(
|
|||||||
field_index: usize,
|
field_index: usize,
|
||||||
variant_index: Option<usize>,
|
variant_index: Option<usize>,
|
||||||
) -> Value {
|
) -> Value {
|
||||||
#[cfg(feature = "support-inspector")]
|
|
||||||
fn get_min_max(
|
|
||||||
|
/*fn get_min_max(
|
||||||
reg: &TypeRegistration,
|
reg: &TypeRegistration,
|
||||||
field_index: usize,
|
field_index: usize,
|
||||||
variant_index: Option<usize>,
|
variant_index: Option<usize>,
|
||||||
@ -252,9 +253,8 @@ fn add_min_max(
|
|||||||
})
|
})
|
||||||
.and_then(|o| o.downcast_ref::<NumberOptions<f32>>())
|
.and_then(|o| o.downcast_ref::<NumberOptions<f32>>())
|
||||||
.map(|num| (num.min, num.max))
|
.map(|num| (num.min, num.max))
|
||||||
}
|
}*/
|
||||||
|
|
||||||
#[cfg(not(feature = "support-inspector"))]
|
|
||||||
fn get_min_max(
|
fn get_min_max(
|
||||||
_reg: &TypeRegistration,
|
_reg: &TypeRegistration,
|
||||||
_field_index: usize,
|
_field_index: usize,
|
||||||
|
Loading…
Reference in New Issue
Block a user