Files
test/source/blender/animrig/ANIM_visualkey.hh
Christoph Lendenfeld 265858525e Refactor: ANIM_setting_get_rna_values to return a Vector
No functional changes.

Changing old C code to C++ by returning a `Vector` from `ANIM_setting_get_rna_values`.
This reduces the argument count for that function and simplifies the code.

Pull Request: https://projects.blender.org/blender/blender/pulls/113931
2023-10-24 09:01:38 +02:00

22 lines
462 B
C++

/* SPDX-FileCopyrightText: 2023 Blender Foundation
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup animrig
*
* \brief Functions to work with the visual keying system.
*/
#include "BLI_vector.hh"
struct PointerRNA;
struct PropertyRNA;
namespace blender::animrig {
bool visualkey_can_use(PointerRNA *ptr, PropertyRNA *prop);
Vector<float> visualkey_get_values(PointerRNA *ptr, PropertyRNA *prop);
} // namespace blender::animrig