Age | Commit message (Collapse) | Author |
|
|
|
Needed to implement multiple edit-objects.
|
|
|
|
|
|
Each AnimData block has a set of Blend/Extrapolation/Influence settings
that can be used to control how the active action is blended with the
NLA stack. However, these settings were not getting copied over to the
newly created strips (as the push-down code existed long before these
settings were added).
This commit solves this in several ways:
* Active Action Blend/Extrapolation/Influence settings now get copied
to the new strips when adding them to the NLA stack via Push Down.
Note: This doesn't happen when there are no existing NLA tracks,
as these settings don't get used in that case.
* Strip Influence will be copied across when inf < 1.0 (i.e. when a
non-default value is used), to maintain the effect. To make this work,
the influence value will get added as a keyframe to the strip's
"Influence" Control FCurve.
- See code comments for an alternative approach and why that was not chosen
- Strip Time still doesn't get keyframes added automatically yet.
* To ensure the "extrapolation mode" settings don't get always overwritten,
I've put in place a compromise: the extrapolation will only get changed
if the chosen setting will cause problmes (i.e. hold forward & back -> hold forward
if there are other tracks before it already).
Not safe for backporting to 2.79[x] stable releases.
|
|
without the Influence Strip F-Curve existing
|
|
|
|
|
|
|
|
Just invert the frustum planes in this case.
|
|
Avoid the error 170 ("The requested resource is in use").
|
|
`wglShareLists` was failing with error code 170 ("The requested resource is in use").
|
|
Now repeating the operator will use the previously chosen offset, either with
the modal operator or typed in. The modal operator will still start at zero.
|
|
Reverts rBb9ae517794765d6a1660 and fixes the issue properly. Old fix could cause
NULL to be passed to functions that expect all arguments to be non-NULL.
|
|
|
|
|
|
Both were being passed in different parts of the code,
use object data for consistency.
|
|
|
|
Caused loading user-prefs to crash.
|
|
|
|
Move function descriptions into the struct,
minor improvements to variable naming,
use convention of 'g_' prefix for static vars.
|
|
This prevents the creation of a new job if no job is running.
|
|
The bug was due to the Halton function returning uninitialized value for 0 iteration.
|
|
Was cause by newly added shader deferred compilation.
|
|
Frustum
The idea is to separate the most common case from symmetrical frustum. And to make a simple but efficient calculation.
The new radius is usually 98% the size of the radius size of the asymmetric solution.
Thanks to @fclem for reviewing the patch on IRC
|
|
|
|
It was getting the wrong matrice because of the point light override.
|
|
|
|
|
|
World probe is tagged to refresh when it it's shader is updated.
Probes are recomputed only after all meshes shaders have been compiled.
|
|
|
|
|
|
Like really? wtf dude? *self face slapping*
|
|
Also get rid of the static var and initialization.
This enables the user to see the progress on the info header.
Closing blender or reading a file also kill the job which is good.
Unfortunatly, this job cannot be interrupt by users directly. We could make it interruptible but we need a way to resume the compilation.
|
|
|
|
This is because gpumaterials can contain references to the tree when doing lazy compilation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In the gpus like `AMD Radeon HD 7570M` and `Intel(R) HD Graphics 4000` this solution improves performance a hundreds or even thousands of times depending on the resolution.
Reviewed By: @brecht and @fclem
Differential Revision: https://developer.blender.org/D3095
|
|
|
|
Vertex group remapping utility function,
now shared between object join and array modifier cap-ends.
Weights which don't exist are removed.
D3092 by @Foaly
|
|
|