Branch: refs/heads/master
Home: https://github.com/synfig/synfig
Commit: 61432e9a0faedb46ed684f2d1358ca357c13f4d8
https://github.com/synfig/synfig/commit/61432e9a0faedb46ed684f2d1358ca357c13f4d8
Author: rodolforg <[email protected]>
Date: 2023-05-04 (Thu, 04 May 2023)
Changed paths:
M synfig-core/src/synfig/valuenode.cpp
M synfig-core/src/synfig/valuenode.h
M synfig-studio/src/synfigapp/value_desc.cpp
Log Message:
-----------
refactor: rename method to `get_link_description(...)` to avoid ambiguity
(#3060)
There were two overloaded methods, and all of their arguments have
default values:
* LinkableValueNode::get_description(bool show_exported_name = true)
* LinkableValueNode::get_description(int index = -1, bool show_exported_name =
true)
The first one is an override of the `ValueNode::get_description` method.
There was an unnecessary ambiguity here. So I renamed the second method
to `LinkableValueNode::get_link_description()` to make it explicit, and
`index` argument is not optional now.
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl