parent
f1bd96a9ab
commit
c52df4fc7c
|
@ -1,7 +1,7 @@
|
|||
MEMORY MANAGEMENT IN BLENDER (guardedalloc)
|
||||
-------------------------------------------
|
||||
|
||||
NOTE: This file does not cover memutil and smart pointers and rerefence counted
|
||||
NOTE: This file does not cover memutil and smart pointers and reference counted
|
||||
garbage collection, which are contained in the memutil module.
|
||||
|
||||
Blender takes care of dynamic memory allocation using a set of own functions
|
||||
|
|
|
@ -1104,7 +1104,7 @@ static int psys_thread_context_init_distribute(ParticleThreadContext *ctx, Parti
|
|||
/* This is to address tricky issues with vertex-emitting when user tries (and expects) exact 1-1 vert/part
|
||||
* distribution (see T47983 and its two example files). It allows us to consider pos as
|
||||
* 'midpoint between v and v+1' (or 'p and p+1', depending whether we have more vertices than particles or not),
|
||||
* and avoid stumbling over float imprecisions in element_sum.
|
||||
* and avoid stumbling over float impression in element_sum.
|
||||
* Note: moved face and volume distribution to this as well (instead of starting at zero),
|
||||
* for the same reasons, see T52682. */
|
||||
pos = (totpart < totmapped) ? 0.5 / (double)totmapped : step * 0.5; /* We choose the smaller step. */
|
||||
|
|
|
@ -189,7 +189,7 @@ void tracking_configure_tracker(const MovieTrackingTrack *track, float *mask,
|
|||
options->image1_mask = NULL;
|
||||
}
|
||||
|
||||
/* Peform tracking from a reference_marker to destination_ibuf.
|
||||
/* Perform tracking from a reference_marker to destination_ibuf.
|
||||
* Uses marker as an initial position guess.
|
||||
*
|
||||
* Returns truth if tracker returned success, puts result
|
||||
|
|
|
@ -185,7 +185,7 @@ size_t BLI_file_size(const char *path)
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the st_mode from statting the specified path name, or 0 if it couldn't be statted
|
||||
* Returns the st_mode from stat-ing the specified path name, or 0 if stat fails
|
||||
* (most likely doesn't exist or no access).
|
||||
*/
|
||||
int BLI_exists(const char *name)
|
||||
|
|
|
@ -114,7 +114,7 @@ static void animedit_get_yscale_factor(bAnimContext *ac)
|
|||
|
||||
/* grab scale factor directly from action editor setting
|
||||
* NOTE: This theme setting doesn't have an ID, as it cannot be accessed normally
|
||||
* since it is a float, and the theem settings methods can only handle chars.
|
||||
* since it is a float, and the theme settings methods can only handle chars.
|
||||
*/
|
||||
ac->yscale_fac = btheme->tact.keyframe_scale_fac;
|
||||
|
||||
|
|
|
@ -171,8 +171,8 @@ int graphop_editable_keyframes_poll(bContext *C)
|
|||
|
||||
/* editable curves must fulfill the following criteria:
|
||||
* - it has bezier keyframes
|
||||
* - it must not be protected from editing (this is already checked for with the foredit flag
|
||||
* - F-Curve modifiers do not interfere with the result too much
|
||||
* - it must not be protected from editing (this is already checked for with the edit flag
|
||||
* - F-Curve modifiers do not interfere with the result too much
|
||||
* (i.e. the modifier-control drawing check returns false)
|
||||
*/
|
||||
if (fcu->bezt == NULL)
|
||||
|
|
Loading…
Reference in New Issue