Cleanup: single quotes for Python enums, spelling

This commit is contained in:
Campbell Barton
2021-03-23 16:08:53 +11:00
parent 3117de3a73
commit bb78f38bd1
5 changed files with 8 additions and 8 deletions

View File

@@ -221,7 +221,7 @@ template<typename T> class VArrayForSingle final : public VArray<T> {
* exponential number of function instantiations (increasing compile time and binary size).
*
* Generally, this function should only be used when the virtual method call overhead to get an
* element from a virtual array is signifant.
* element from a virtual array is significant.
*/
template<typename T, typename Func>
inline void devirtualize_varray(const VArray<T> &varray, const Func &func, bool enable = true)

View File

@@ -103,7 +103,7 @@ static eSpaceSeq_Proxy_RenderSize get_sequencer_render_size(Main *bmain)
return render_size;
}
static bool can_use_proxy(Sequence *seq, int psize)
static bool can_use_proxy(const Sequence *seq, int psize)
{
if (seq->strip->proxy == NULL) {
return false;