Brecht Van Lommel
6b03e9bc47
Fix #33376 : non-square DDS textures were mapped wrong in the viewport / game engine.
2012-12-02 08:25:53 +00:00
Brecht Van Lommel
b8d822eb35
Fix performance issue in OSL geometry node, compiler fails to optimize out the
...
tangent computation, tweaked the code so this works.
2012-12-02 08:25:40 +00:00
Campbell Barton
82fc331959
There was no way of knowing what ID type a property comes from by the tooltip, (since copying the Data-Path doesn't include the ID the user had to guess).
...
Now include the full python path to the property in the tool-tip.
2012-12-02 07:13:19 +00:00
Brecht Van Lommel
04c27843ea
UI: revert the previous fix for middle click on button, conflicts with panning.
2012-12-02 05:27:03 +00:00
Campbell Barton
f7f4148b40
change uiButGetStrInfo() to use a trailing NULL arg rather then passing the number of args as an arg.
2012-12-02 04:51:15 +00:00
Brecht Van Lommel
9865ee7637
Fix another cycles SVM issue with closures, was not using correct sample weight
...
leading to some extra noise compared to a few revisions ago.
2012-12-01 22:00:25 +00:00
Brecht Van Lommel
7c0a0bae79
Fix #33375 : OSL geom:trianglevertices gave wrong coordinates for static BVH.
...
Also some simple OSL optimization, passing thread data pointer directly instead
of via thread local storage, and creating ustrings for attribute lookup.
2012-12-01 19:15:05 +00:00
Brecht Van Lommel
807fd448a5
UI: allow middlemouse in addition to leftmouse for clicking on various buttons,
...
means that if you have emulate 3 button mouse enabled and still have alt pressed
when clicking, it works.
2012-12-01 19:14:55 +00:00
Bastien Montagne
19e9571b1b
Various "user-friendly" edits, mostly adding command-line args parsing... So now you can try to build OSL with just install_deps.sh --with-osl
2012-12-01 18:07:45 +00:00
Howard Trickey
c324895136
Bevel: fix crash bug 33362, when beveling one edge at valence 2 vertex.
...
That special case should have been tested before - the code was wrong
in about three different ways.
2012-12-01 14:23:44 +00:00
Brecht Van Lommel
71c0b69e71
Fix #33372 : materials linked in node setups did not output alpha values unless
...
the parent material also had alpha enabled. However it's useful to have it do
this even if the main material does not need alpha, to mix textures.
2012-12-01 13:56:34 +00:00
Campbell Barton
ee08c27f95
fix [ #33368 ] Crash with multilayer exr node
2012-12-01 08:47:39 +00:00
Campbell Barton
0da227cac1
style cleanup
2012-12-01 07:58:27 +00:00
Campbell Barton
b290f9a6cc
add bmesh.free() to example & template
2012-12-01 07:16:08 +00:00
Campbell Barton
2f97f929a5
fix for bug in console indent, was not copying the null terminator.
...
also add assert to catch this case more quickly.
2012-12-01 06:29:04 +00:00
Howard Trickey
eb490f3aae
Bevel: fix spike in suzanne, bug 33354.
...
Non-planar faces made some of the meet point code not work well,
so now calculate local face norms.
2012-12-01 03:26:57 +00:00
Justin Dailey
40e76df0db
fix [ #33363 ] Text editor undo fail
2012-11-30 22:46:28 +00:00
Brecht Van Lommel
75cce01a61
Fix #33364 : cycles tile rendering artifacts.
2012-11-30 18:55:04 +00:00
Brecht Van Lommel
a2bf2ba7df
Fix transfer weight tool enum properties all showing question mark icons,
...
these should have no icons.
2012-11-30 18:54:56 +00:00
Campbell Barton
5446dc0bf3
fix for various asserts running operator tests - not likely any of these would cause real user bugs though.
2012-11-30 16:41:43 +00:00
Campbell Barton
d72a6c3018
fix for another error in my own recent commit, beauty fill crashed.
2012-11-30 16:15:49 +00:00
Lukas Toenne
46636a601e
Removed unused register_ lines from for and while loop nodes. These nodes were already commented out and removed in r51576.
2012-11-30 16:03:34 +00:00
Campbell Barton
ca64979236
fix own mistake in recent commit - entering editmode with a shape key crashed.
2012-11-30 14:27:25 +00:00
Sergey Sharybin
a02e51feba
Fix #33357 : Strip modificator Bright/Contrast doesn't work correct for byte images
2012-11-30 13:42:52 +00:00
Sergey Sharybin
7fa7ce297e
Map Range: added the same infinity clamping for Z buffer as normalize node.
...
Think should be pretty much harmless since if this node was used for buffers
with infinities it already showed artifacts. Now it should be more useful for
mapping Z buffers.
2012-11-30 13:17:19 +00:00
Sergey Sharybin
4f8f5746a8
Normalize node: clamp infinities to 0/1 (depending on sign)
...
The same behavior was in old compositor system and it makes more sense
when you're normalizing Z buffer.
2012-11-30 12:48:30 +00:00
Sergey Sharybin
1db677a51c
Final render wouldn't set compositor's update_draw callback, so added NULL check
...
Seems no extra notifiers should be added here.
2012-11-30 11:26:57 +00:00
Miika Hamalainen
d2a741048a
Fix #33353 : Smoke color problems with adaptive domain
...
High resolution cache didn't always read all written data fields which caused colors to get messed up.
2012-11-30 11:01:14 +00:00
Sergey Sharybin
323e86694e
Compositor should never add notifiers by himself, notifiers should be added
...
from main thread using job update callback.
Added new execution-time callback to bNodeTree which marks job to be updated.
The code here could be a bit not so obvious because in some cases job update
callback need to merge local tree, but it's only needed for old compositor
system which is gonna to be removed soon, so decided not to bother with
cleanup now. Removing old compositor system will also allow to drop stats_draw
callback from bNodeTree.
This should fix following bugs:
2012-11-30 09:12:10 +00:00
Brecht Van Lommel
ceedd5bd35
Fix cycles CUDA sm 1.3 build with 32 bit compiler, tweaked voronoi
...
and brick code so that it can be uninlined.
2012-11-30 07:27:17 +00:00
Campbell Barton
ad2b41bc4b
add margin to view fitting view-all/local-view (wasn't obvious with the models I was testing with).
2012-11-30 06:55:36 +00:00
Campbell Barton
ef08e31134
fix for another glitch caused by r51636, setting the camera view with quad-view enabled would zoom all non camera views.
...
Theres no need to draw other views so skip that.
2012-11-30 06:39:24 +00:00
Brecht Van Lommel
1246ef714e
Fix #33351 : cycles OSL not loading grayscale images as RGB correctly.
2012-11-30 06:10:25 +00:00
Brecht Van Lommel
e7f594b0df
Fix #33347 : cycles OSL crash connecting string to vector socket.
2012-11-30 06:10:16 +00:00
Campbell Barton
6bb45495d1
fix for r51636 - making the lens work in ortho mode made view-all and local-view operators give bad zoom levels.
2012-11-30 06:10:01 +00:00
Campbell Barton
7a1dfa298a
make setting local view take the view lens int account.
2012-11-30 05:29:34 +00:00
Campbell Barton
8c3df03c5f
make previous commit work when the camera is locked to the view (in that case use the camera lens, not the viewport lens value).
2012-11-30 04:40:32 +00:00
Campbell Barton
c3406db4f5
fix for view-all operator not taking the view-angle into account.
2012-11-30 04:25:58 +00:00
Brecht Van Lommel
5321669ef6
Fix render from local view 3d viewport not using lamps in render.
...
Fix missing GLSL updates for objects without materials.
2012-11-29 19:04:33 +00:00
Campbell Barton
ce3ea8942c
remove unneeded mesh->bmesh conversion code that copied BMLoop data in a separate loop (since there is no longer pre-allocated loop data on the new BMLoops).
2012-11-29 16:36:16 +00:00
Sergey Sharybin
7d62e6d94a
Fix navmesh after recent bmsh api changes.
2012-11-29 16:34:09 +00:00
Campbell Barton
07ccd3ee3f
fix [ #33029 ] Applying modifier leaks memory
...
Thanks for Sergey for finding the bug & patching, This fix works a bit differently.
Theres no need to allocate the customdata in the first place - since its written into. So add a flag for vert/edge/face/loop creation functions so they can skip customdata creation.
2012-11-29 16:26:39 +00:00
Brecht Van Lommel
f1745706ad
Fix cycles motion blur + OSL + object texture coordinates issue.
2012-11-29 16:11:37 +00:00
Campbell Barton
f23b6be620
fix [ #33332 ] UV follow active quads
...
rewrite the script to use bmesh connectivity info.
2012-11-29 14:02:28 +00:00
Howard Trickey
fb27a69124
Bevel: partial fix for distortion (bug 33280).
...
Sometimes it is impossible to have same offset from
both edges that are on angled faces. The fix here
at least doesn't distort the non-beveled part of the
model, and looks much better than before on bug
example, but is still not perfect.
2012-11-29 13:54:39 +00:00
Sergey Sharybin
4e981dc566
Fix #33345 : Crash when using bpy.ops.sculpt.brush_stroke
...
It was kind of a regression in behavior in svn rev46862 which made it so
blender crashes if stroke is done from the script.
It should bring back the behavior back and made it so blender doesn't crash,
however it's probably not full fix and some further work is needed to make
call of stroke operator usable from the addon.
2012-11-29 13:24:02 +00:00
Brecht Van Lommel
186bdbd8d8
Fix #33344 : cycles motion blur was still crashing on CUDA sm 2.0. Solution now
...
is also an optimization, use quaternion nlerp instead of slerp, there's no good
reason to use slerp, and nlerp is faster too.
2012-11-29 13:07:45 +00:00
Daniel Genrich
d387dcd110
Fix compile error with clang.
...
Patch by sambler via irc
2012-11-29 12:22:07 +00:00
Dalai Felinto
df4e1953ac
we need 2.8.8 for cmake on mac - patch by Jens Verwiebe
2012-11-29 10:28:06 +00:00
Sergey Sharybin
40e75fd2eb
Dependencies Builder: disable LINKSTATIC for OIIO
...
It'll likely give issues with system boost libraries in ubuntu/debian due
to this distros doesn't like static linking and not building static libs
with -fPIC flag.
Disabling LINKSTATIC should be quite painless since blender requires the
same image libraries as oiio does.
2012-11-29 08:22:02 +00:00