Age | Commit message (Collapse) | Author |
|
Wasn't unlinking from the group instance.
|
|
|
|
|
|
Allows compiling with newer Python versions.
Also add missing decref when compiling as a py-module.
|
|
These could be used for manipulators that run operators.
|
|
Revise the logic here to be more robust when keyframes with
similar-but-different frame numbers (e.g. 70.000000 vs 70.000008)
would cause the search to go into an infinite loop, as the same
keyframe was repeatedly found (and skipped).
|
|
Tweak the bias from the previous fix a bit to be more backwards compatible in
some scene. In the end which way we round is quite arbitrary, but keeping the
case where the texture coordinate is exactly zero the same seems better.
|
|
|
|
|
|
*note: make a complete test scene
|
|
# Conflicts:
# source/blender/editors/transform/transform_snap_object.c
|
|
Macro makes debugging difficult. And in that case I was escaping from the style used in Blender
|
|
A void function cannot return a value
|
|
rename obj -> ob_iter
|
|
For users that means you can tweak shaders in the nodetree and things
are way faster. This is a huge improvement, particularly in
systems that have no shader cache.
From the code perspective it means we are no longer re-compiling the
shader every time a value is tweaked in the UI. We are using uniforms
for those values.
It would be slow to add that many uniforms for all the shaders. So
instead we are using UBO (Uniform Buffer Objects).
This fixes the main issue of T51467. However GWN_shaderinterface_create() still
needs to be improvedi. When opening a .blend all shaders are compiled once, so
optimizing it will bring a measurable impact.
========================================================================
NOTE: This breaks update of Cycles material upon nodetree nodes
tweaking. It will be fixed separately by depsgraph, once tackling T51925
(Animated Eevee values slowdown).
The idea is to make Depsgraph update more granular. The XXX TODO in
rna_nodetree.c will be tackled at that time as well.
========================================================================
Reviewers: sergey, brecht, fclem
Differential Revision: https://developer.blender.org/D2739
|
|
Would give different results for off-screen rendering.
|
|
|
|
|
|
|
|
This would bring problems with dupli objects
|
|
This commit makes simple cases to work, for example:
- IK solver to an external object
- Object with Armature modifier, "parented" to the deforming armature
(via animation).
More complicated setups (like agent rig) are crashing still.
|
|
|
|
If you merge from master to blender2.8 after a commit, remember to test in 2.8, otherwise what is the point?
Specially if it's a non-essential commit such as c9817c67fc141ca85a6e1f9e42d9fa.
Bug introduced on: f4155d3778ba883566eeb87d16218c4c275ffc (the merge
that included the above commit).
|
|
This reverts commit 0095f4f83465bc9fdc13b79d2126f5623e291d7c.
|
|
This commit effectively makes workspace switching useless as far as the
active scene layer goes.
The functions from the scene layer API to get the correct scene layer
from "context" were a placeholder to be addressed by the workspace
commit.
When workspace was merged, however G.main was used as a replacement to pass the
correct argument for the functions. As it turned out (surprise!) this
leads to crash on render preview.
We need to get rid of:
* BKE_scene_layer_context_active_ex_PLACEHOLDER
* BKE_scene_layer_context_active_PLACEHOLDER
And either use SceneLayer explicitly or replace it by:
* BKE_scene_layer_from_workspace_get
|
|
|
|
|
|
Without this face selection would be used but invisible,
display this over fully shaded surface.
|
|
|
|
|
|
This reverts commit d02711ed883ee0d1844d49d39a8814aca5b029c3.
|
|
# Conflicts:
# source/blender/editors/transform/transform_snap_object.c
|
|
The macro got a little strange, but it's better than using the MEM_mallocN inside a loop, or repeat the lines
|
|
|
|
The const key is required by compiler to avoid warning
|
|
|
|
|
|
Goal is to make them more modular, to allow more variants (variable
single-color, thickness, ...) to be added without having to
copy-and-change-one-line of whole chain of shaders.
|
|
Proxies"
The option has always (un)set the "Overwrite" flag on all strips. Calling
it "Override" seems misleading, since even when unchecking it, it overrides
whatever was set on the selected strips. It really just (un)sets the
"Overwrite" flag, and now it is also labeled as such.
|
|
This is a first step towards proper depsgraph "ownership", where
we would allow scene to be in multiple states dependent on active
workspace or scene layer.
This commit introduces a basic API to get proper dependency graph
for a given scene layer. It also renames scene->depsgraph to
depsgraph_legacy, so it's easier to search0-n-replace in the future.
|
|
It wasn't really correct from the copy-on-write point of view anyway,
so better not to have potentially really dangerous function.
|
|
The issue was caused by original datablock being returned where we
were expecting copy-on-written one to be returned.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also disable for dyntopo & multires since its currently not supported.
|