/* SPDX-License-Identifier: GPL-2.0-or-later */ /** \file * \ingroup editors */ #pragma once struct bContext; #ifdef __cplusplus extern "C" { #endif void ED_operatortypes_curves(void); #ifdef __cplusplus } #endif #ifdef __cplusplus # include "BKE_curves.hh" # include "BLI_vector_set.hh" namespace blender::ed::curves { bke::CurvesGeometry primitive_random_sphere(int curves_size, int points_per_curve); bool has_anything_selected(const Curves &curves_id); VectorSet get_unique_editable_curves(const bContext &C); void ensure_surface_deformation_node_exists(bContext &C, Object &curves_ob); bool editable_curves_with_surface_poll(bContext *C); bool curves_with_surface_poll(bContext *C); bool editable_curves_poll(bContext *C); bool curves_poll(bContext *C); } // namespace blender::ed::curves #endif