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
22 lines
462 B
C++
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
|