Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also move ..._needs_opengl functions into view3d_utils.c
|
|
Avoids using local preferences.
|
|
|
|
|
|
|
|
Operators and utility functions were getting too mixed up,
the files were also quite large.
|
|
surfaces.
There was a check for volume bounces at every surface intersection. That could lead to a volume scattered path being terminated
when passing through a transparent surface. This check was superfluous, as the volume shader evaluation already checks the
number of volume bounces and once it passes the max, volume shaders will not return scatter events any more.
Reviewers: #cycles, brecht
Reviewed By: #cycles, brecht
Subscribers: brecht, #cycles
Tags: #cycles
Maniphest Tasks: T53914
Differential Revision: https://developer.blender.org/D3024
|
|
In my tests the previous loop was running in 200 ms. With this change it now runs in 17 ms.
The difference in the end is still not great because the `draw_uvs_lineloop_bmface` function is called for each face and has an ImmBegin and ImmEnd in the function itself
|
|
|
|
everwhere
I think ultimately we may move these operators from the outliner space to scene.
Partial revert of a08f687b91a2a7880889.
|
|
Technically this revert b3bcbc9e85aa. This however doesn't seem to be needed
any longer.
|
|
opens up.
Idea by Pablo Vazquez.
|
|
Spotted by Ha Hyung-jin, thanks!
|
|
Previously we stored each color channel in a single closure, which was
convenient for sampling a closure and channel together. But this doesn't
work so well for algorithms where we want to render multiple color
channels together.
|
|
Forgot to add that in previous commit, also related to T53003.
|
|
Move restricted 'reasonable' range to ui_range, and allow wider values
for manual settings.
|
|
FFMPEG uses int for the numerator, while Blender uses a short. So in
cases people gave weird exotic framerate values and we cannot reduce
enough the numerator, we'd get totally weird values (even negative frame
rates sometimes!)
Now we add checks for short overflow and approximate as best as possible
in that case (error should not matter unless you have shots of at least
several hundreds of hours ;) ).
|
|
|
|
We were not tagging depsgraph to update its nodes after importing new objects.
|
|
|
|
Note: This was originally wrongly committed together with an outliner tooltip
fix, re-committing separately now. See bd7060a87fd9.
|
|
In the future we may have siblings to collections (like overrides) that are not
collections. This change make sure tooltips will keep working.
Note: This was originally wrongly committed together with a Collada fix,
re-committing separately now. See bd7060a87fd9.
|
|
This reverts commit bd7060a87fd9f46c2bdd141e26934e8573c6e3f8.
I mixed two commits together (a fixup for outliner tooltips and a collada fix).
Re-committing them individually.
|
|
|
|
I really would prefer if we were to use the dropbox API for this.
That said, we now have some tooltips that work.
I'm using the new draw callback draw API for outliner tooltips.
Reviewers: mont29
Subscribers: venomgfx, mano-wii, Severin
Differential Revision: https://developer.blender.org/D3020
|
|
|
|
This reverts commit dc2617130b2e1d7d2b9892fbd7c6e7b60caafb66, which disabled
writing of previews for undo. While this uses some memory, re-rendering all
previews is very expensive, especially if for example you have lots of materials
using high-res image textures.
|
|
|
|
D2976 by @dertom
|
|
|
|
|
|
|
|
Saves on process creation and avoids
being tripped up by command line parsing.
Based on D2967 by @ldo with edits.
|
|
Also add code example in docs.
|
|
Note there is no "text" explaining to users what is going on.
I will address this shortly in an upcoming commit.
|
|
|
|
|
|
Differential Revision: https://developer.blender.org/D3019
|
|
|
|
As done by c42fc19a8a1c71 - this was needed originally because notifiers were
not working so I had to force tagging.
And for the records, I should have used DEG_TAG_BASE_FLAGS_UPDATE instead of 0.
|
|
That said, this should be informed to the user, not printed in the console.
|
|
We can't have more than one NOTE_SUBTYPE in the same notifier.
Instead of calling both subtypes the code end up not calling either.
|