Skip to content

Commit d4b474e

Browse files
committed
implot3d: fix bindings (ignore callbacks ImPlot3DTransform)
1 parent aea30a2 commit d4b474e

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

bindings/imgui_bundle/implot3d/internal.pyi

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -585,14 +585,10 @@ class Axis:
585585
# bool ShowDefaultTicks; /* original C++ signature */
586586
show_default_ticks: bool
587587
# Scale
588-
# ImPlot3DTransform TransformForward; /* original C++ signature */
589-
transform_forward: Transform # Custom axis forward transform
590-
# ImPlot3DTransform TransformInverse; /* original C++ signature */
591-
transform_inverse: Transform # Custom axis inverse transform
592588
# void* TransformData; /* original C++ signature */
593-
transform_data: Any # Custom transform data set by the user
589+
transform_data: Any # Custom transform data set by the user
594590
# ImPlot3DRange ScaledRange; /* original C++ signature */
595-
scaled_range: Range # Cached scaled range values
591+
scaled_range: Range # Cached scaled range values
596592
# Fit data
597593
# bool FitThisFrame; /* original C++ signature */
598594
fit_this_frame: bool

external/implot3d/bindings/litgen_options_implot3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def litgen_options_implot3d() -> LitgenOptions:
2626
options.fn_exclude_by_param_type__regex = "ImPlot3DFormatter"
2727
options.fn_force_lambda__regex = "PlotMesh"
2828
options.class_exclude_by_name__regex = "ImDrawList3D"
29-
options.member_exclude_by_type__regex = r"^ImVector|TextBuffer|Storage|ImPool|ImPlot3DFormatter|ImPlot3DLocator|ImDrawList3D"
29+
options.member_exclude_by_type__regex = r"^ImVector|TextBuffer|Storage|ImPool|ImPlot3DFormatter|ImPlot3DLocator|ImDrawList3D|ImPlot3DTransform"
3030

3131
options.class_copy__regex = "ImPlot3DStyle|Style"
3232
options.class_copy_add_info_in_stub = True

external/implot3d/bindings/pybind_implot3d_internal.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,6 @@ void py_init_module_implot3d_internal(nb::module_& m)
313313
.def_rw("ticker", &ImPlot3DAxis::Ticker, "")
314314
.def_rw("formatter_data", &ImPlot3DAxis::FormatterData, "")
315315
.def_rw("show_default_ticks", &ImPlot3DAxis::ShowDefaultTicks, "")
316-
.def_rw("transform_forward", &ImPlot3DAxis::TransformForward, "Custom axis forward transform")
317-
.def_rw("transform_inverse", &ImPlot3DAxis::TransformInverse, "Custom axis inverse transform")
318316
.def_rw("transform_data", &ImPlot3DAxis::TransformData, "Custom transform data set by the user")
319317
.def_rw("scaled_range", &ImPlot3DAxis::ScaledRange, "Cached scaled range values")
320318
.def_rw("fit_this_frame", &ImPlot3DAxis::FitThisFrame, "")

0 commit comments

Comments
 (0)