Sergey Sharybin [Tue, 21 Oct 2014 11:38:36 +0000 (21 17:38 +0600)]
We're nov 2.72b
Campbell Barton [Tue, 21 Oct 2014 09:36:11 +0000 (21 11:36 +0200)]
Fix sequencer clipboard with meta's containing ID references
Campbell Barton [Tue, 21 Oct 2014 09:10:45 +0000 (21 11:10 +0200)]
Fix sequencer duplicate with only handle selected
Antony Riakiotakis [Mon, 20 Oct 2014 18:08:22 +0000 (20 20:08 +0200)]
Fix T42311, too many paint slots added.
Don't allow the add paint slot operator to redo. Also guard better against
excessive slot addition
Campbell Barton [Mon, 20 Oct 2014 15:06:49 +0000 (20 17:06 +0200)]
Fix T42313: Ruler always measures 0.0
Passing 'ar' to snapObjectsRayEx would apply a ray-offset.
Antony Riakiotakis [Mon, 20 Oct 2014 10:35:35 +0000 (20 12:35 +0200)]
Fix T42189
Own mistake - not copying enough data.
Campbell Barton [Mon, 20 Oct 2014 09:14:02 +0000 (20 11:14 +0200)]
Fix T42264: Negative scale & clipped-select fails
Thanks to mont29 for finding the cause.
Bastien Montagne [Sun, 19 Oct 2014 18:50:13 +0000 (19 20:50 +0200)]
Fix T42304: blender 2.72a 3D view object selected color wrong in 2.4x theme.
I would not have endured such a critical and monstruous bug one more femtosecond!
And even worse - active color was awfully wrong too! Shocking!
Grigory Revzin [Sun, 19 Oct 2014 18:13:05 +0000 (19 20:13 +0200)]
Fix typo in calculateCenterMedian that could give computed median point wrong values.
From soc-2014-shapekey branch, with minor edits by mont29 (Bastien Montagne).
Antony Riakiotakis [Sat, 18 Oct 2014 11:17:45 +0000 (18 13:17 +0200)]
Fix T42281, crash in subsurf with texture painting.
Jens Verwiebe [Fri, 17 Oct 2014 20:16:53 +0000 (17 22:16 +0200)]
OSX/PLAYER/cmake: fix player install python bundling, overlloked player has its own PLAYER_TARGETDIR_VER
Campbell Barton [Fri, 17 Oct 2014 20:11:14 +0000 (17 22:11 +0200)]
Fix for align bone to cursor (missing normalize)
Sergey Sharybin [Fri, 17 Oct 2014 14:48:09 +0000 (17 16:48 +0200)]
Fix for pose bones not restoring selection index properly
Antony Riakiotakis [Fri, 17 Oct 2014 12:25:50 +0000 (17 14:25 +0200)]
More fixes:
* Fill brush did not do proper srgb conversion for byte images (reported
by Sebastian Koenig, thanks!)
* Color sampling for palettes did not refresh the toolbar.
Antony Riakiotakis [Fri, 17 Oct 2014 12:11:13 +0000 (17 14:11 +0200)]
Fix issue reported by Sebastian Koenig on irc, Clone brush would paint
trash with float images.
Issue is uninitialized alpha in the clone brush + a clamping issue for
float images. There's still some 'swimming' and brightness issue here
but I have to do work for the weekly, will investigate further later.
Thomas Dinges [Thu, 16 Oct 2014 21:27:38 +0000 (16 23:27 +0200)]
Different fix for T42262, we don't put Cycles compat into regular bl_ui files.
Bastien Montagne [Thu, 16 Oct 2014 21:02:23 +0000 (16 23:02 +0200)]
Fix T42262: Ocean texture options cannot be edited while in Cycles
Antony Riakiotakis [Thu, 16 Oct 2014 18:07:44 +0000 (16 20:07 +0200)]
Fix bad typo in undo code that invalidated all image caches on undo.
Bastien Montagne [Thu, 16 Oct 2014 14:30:52 +0000 (16 16:30 +0200)]
Fix T42258: Drivers: `dimensions.x` is always invalid, but `dimensions[0]` works
'PROP_XYZ_LENGTH' subtype was missing from list of valid '.x/y/z/w' ones.
Sergey Sharybin [Wed, 15 Oct 2014 15:23:12 +0000 (15 21:23 +0600)]
Fix compilation error -- backported change relied on the regular development changes
Bastien Montagne [Wed, 15 Oct 2014 09:27:40 +0000 (15 15:27 +0600)]
Buildbot: Rename testbuild branch to experimental-build and put the builds to dedicated folder
Antony Riakiotakis [Wed, 15 Oct 2014 09:04:41 +0000 (15 11:04 +0200)]
Better fix for T42139
Noise function's significant bits are up to 31st bit. This should now
give the same visual result as before, minus the stripes.
Issue pointed out by Anthony Edlin, thanks!
Conflicts:
source/blender/render/intern/source/render_texture.c
Dalai Felinto [Wed, 15 Oct 2014 00:16:58 +0000 (14 21:16 -0300)]
Fix for No Sudo option in install_deps.sh (typo in docs)
Joshua Leung [Tue, 14 Oct 2014 23:56:29 +0000 (15 12:56 +1300)]
Bugfix T42225: Python - GreasePencil.active incorrectly accepts GreasePencil type instead of GPencilLayer
Campbell Barton [Mon, 13 Oct 2014 16:13:50 +0000 (13 18:13 +0200)]
Fix T42206: RenderLayers popup crashed when clicked while rendering
Campbell Barton [Mon, 13 Oct 2014 15:44:27 +0000 (13 17:44 +0200)]
Fix T42005: Reset py-handlers could crash
Wasn't acquiring the GIL.
Sergey Sharybin [Tue, 14 Oct 2014 13:35:15 +0000 (14 15:35 +0200)]
Fix T42064: Directional blur uses wrong sampler
Now use linear one, nearest is far too doggy.
Sergey Sharybin [Wed, 15 Oct 2014 14:25:04 +0000 (15 16:25 +0200)]
Fix T42160: CUDA error: ILLEGAL_ADDRESS in cuCtxSynchronize()
This is so-called GPU limitation boundary hit, told compiler to NOT include
volume bound function, otherwise some real weird things used to happen.
We actually might want to do the same for CPU, inlining everything is not
the way to get fastest code.
Tamito Kajiyama [Mon, 13 Oct 2014 15:53:08 +0000 (14 00:53 +0900)]
Fix T42198: Linked lines only work with linked objects.
The reported issue was caused by a backward incompatibility due to careless
code changes made when per-material Freestyle line colors were introduced
in rB7915d7277ac8c605f016f30f943080556244fb59. In 2.71 line style
Material color/alpha/thickness modifiers was retrieving alpha transparency
from Material.alpha, whereas in 2.72 Material.line_color[3] was referenced.
The present fix reverts the aforementioned code changes.
This issue is a regression from 2.71, so the fix is appropriate for inclusion in
the 2.72a release.
Campbell Barton [Wed, 15 Oct 2014 12:13:45 +0000 (15 14:13 +0200)]
re-allign 'a'
Sergey Sharybin [Wed, 15 Oct 2014 11:55:12 +0000 (15 17:55 +0600)]
We're entering 'a' release cycle now
Jens Verwiebe [Tue, 14 Oct 2014 11:17:14 +0000 (14 13:17 +0200)]
OSX: refinement for last fullscreen condition commit
Jens Verwiebe [Tue, 14 Oct 2014 10:48:06 +0000 (14 12:48 +0200)]
OSX: only use lionstylefullscreen when seperate spaces are used, todo: use respondsToSelector to simplify the whole detection
Jens Verwiebe [Wed, 8 Oct 2014 10:48:38 +0000 (8 12:48 +0200)]
OSX: fsmenu cleanup
Antony Riakiotakis [Mon, 13 Oct 2014 10:27:57 +0000 (13 12:27 +0200)]
Minor typo fix, reported by Sebastian Koenig on irc. Thanks!
Daniel Genrich [Sun, 12 Oct 2014 14:36:35 +0000 (12 16:36 +0200)]
Bugfix: "Hide" button in modifiers panel did only hide smoke domain, not the smoke.
Reported by nudelZ
Benoit Bolsee [Sat, 11 Oct 2014 10:14:02 +0000 (11 12:14 +0200)]
Fix another crash with Navigation mesh.
Navigation mesh object need to access the current scene at
creation time. This can be at scene start or when an object
is instantiated from an inactive layer. The method of getting
the scene differs in these cases. This fix handles both.
Bastien Montagne [Fri, 10 Oct 2014 14:57:29 +0000 (10 16:57 +0200)]
Fix T41950: Parent-Child Menu behaves weird
Issue was, parenting with operator, then unparenting would keep the inverse parent matrix.
So if you then parented again through the mere Object field of Object buttons, you'd still
use previous inver parent matrix, giving some weird behavior from user PoV.
This commit simply makes sure inverse parent matrix is always reset to indentity when clearing
parents.
Jens Verwiebe [Fri, 10 Oct 2014 10:56:58 +0000 (10 12:56 +0200)]
OSX: as an prerequisite to make Dalai's upcoming "area_fullsceen" work,
make sure the window states are correct in the lion_fs animation phase.
This also assures the CTX_wm_window(C) is okay.
Antony Riakiotakis [Fri, 10 Oct 2014 10:33:02 +0000 (10 12:33 +0200)]
Fix T42168 mask texture UI missing. Own sillyness after last data fix
commit.
If we include the data cleanup commit to an alpha version for 2.72a this
should be included as well
Tamito Kajiyama [Fri, 10 Oct 2014 09:49:32 +0000 (10 18:49 +0900)]
Freestyle: Fix for memory leaks in StrokeVertexIterator.
The issues identified here are regression from 2.71, so the present code
revision is appropriate for backporting if 2.72a is planned.
Tamito Kajiyama [Fri, 10 Oct 2014 09:45:47 +0000 (10 18:45 +0900)]
Freestyle: Fix for StrokeVertexIterator.__next__() ignoring the first and only element.
A StrokeVertexIterator ignores the first element when it is the only element.
Such an iterator can be created by the .incremented() method from an iterator
over two stroke vertices.
This problem is a regression from 2.71. The present fix is appropriate to backport
if Blender 2.72a is planned.
Problem report by Kazuhiro Murakawa through personal communications, thanks!
Sergey Sharybin [Thu, 9 Oct 2014 20:11:36 +0000 (10 02:11 +0600)]
Current tile highlight should use render data from the engine
Otherwise tweaking resolution/border would affect the way tiles are highlighted.
Sergey Sharybin [Wed, 8 Oct 2014 19:57:53 +0000 (9 01:57 +0600)]
Cycles: Remove redundant float4->float3 conversion
Not as if it gives noticeable changes render-time, but it's just weird to
convert float4 to float 3 to just access individual x/y/z components.
Plus some compilers might be more stupid than GCC and don't optimize this
out well.
Antony Riakiotakis [Wed, 8 Oct 2014 10:18:53 +0000 (8 12:18 +0200)]
Fix OpenGL error on cycles rendered viewport.
We queried the wrong value when looking for the bound 2D texture. This
is not totally robust because currently bound texture may not be a 2D
one, but this should work for now.
Campbell Barton [Wed, 8 Oct 2014 07:42:34 +0000 (8 09:42 +0200)]
Fix Python ray-cast failing to check hit direction
Jens Verwiebe [Tue, 7 Oct 2014 21:44:58 +0000 (7 23:44 +0200)]
OSX: adapt fs_menue to modern entries handling
Bastien Montagne [Tue, 7 Oct 2014 21:39:56 +0000 (7 23:39 +0200)]
Fix T42137: Keymap editing is broken
Own mistake in previous fix here, was too greedy in finding an existing kmi of UserPref add diff kmi, we only want
to ignore exact same kmi's here.
Campbell Barton [Tue, 7 Oct 2014 14:59:27 +0000 (7 16:59 +0200)]
Icons: were relicensed to GPL2+ metadata was CC-NC
Campbell Barton [Tue, 7 Oct 2014 14:48:31 +0000 (7 16:48 +0200)]
Call python3 explicitly from tgz util
Sergey Sharybin [Tue, 7 Oct 2014 13:48:39 +0000 (7 15:48 +0200)]
Fix T42106: Box image mapping shows black triangles if they point to a corner and blend is 0
After discussion with cambo here we decided it's better to choose arbitrary side of the box
(in this case it's X-axis) and use image from it. That's better than doing a blackness.
P.S. This is literally a corner case anyway.
Sergey Sharybin [Tue, 7 Oct 2014 12:21:10 +0000 (7 14:21 +0200)]
Allow render engine to declare whether it's capable of the texture rendering or not
If render engine has bl_use_texture_preview set to truth blender wouldn't fallback to
the blender internal rendering for previews.
Sergey Sharybin [Tue, 7 Oct 2014 10:30:23 +0000 (7 12:30 +0200)]
Fix T41957: Shadow color texture mapping was using wrong factor
Antony Riakiotakis [Tue, 7 Oct 2014 09:12:00 +0000 (7 11:12 +0200)]
Cleanup to previous commit, we can reuse set_rgb instead of new function
Antony Riakiotakis [Tue, 7 Oct 2014 09:06:38 +0000 (7 11:06 +0200)]
Fix T42074, textured lamps influncing other layers
The solution is to do the multiplication with the energy in the shader
after texture application.
We might be able to avoid setting dyncol completely, but this needs
better investigation. Some shader paths also look a bit redundant.
Also, texture mapping is not supported very well for light lamps, might
also need investigation.
Campbell Barton [Tue, 7 Oct 2014 08:07:06 +0000 (7 10:07 +0200)]
Fix T4199: Knife holes in concave ngons failed
BM_face_point_inside_test assumed the face center was inside the face.
Campbell Barton [Mon, 6 Oct 2014 19:49:38 +0000 (6 21:49 +0200)]
Cleanup: style
Bastien Montagne [Mon, 6 Oct 2014 20:08:37 +0000 (6 22:08 +0200)]
Fix T42088: Creating new keybinds can cause duplicates when saving key config profile
When patching a keymap with a 'UserPref' diff one, do not add keymap items from diff
if they already exists in patched keymap.
Bastien Montagne [Mon, 6 Oct 2014 18:28:21 +0000 (6 20:28 +0200)]
One more bplayer infamous stub fix!
Antony Riakiotakis [Mon, 6 Oct 2014 13:12:06 +0000 (6 15:12 +0200)]
Texture painting:
Do not generate materials/images/UVs if they are missing.
Now we spawn a panel ("Missing Data") with operators to generate the missing data and
pop a warning if user tries to paint without them.
The reason we have reverted this is that it is too easy to end up with more textures
than we wanted. It was impossible to enter texture paint without having textures added,
and code makes too many assumptions about what user may want.
Discussed during Sunday's meeting.
This might be a candidate for 2.72a but I'm not sure how other artists will take this
(and how refined and crash-free it is), better make a few iterations first.
And for interested parties...test please, don't wait until after a release to poke with such issues.
Also, add slot operator now adds a new unconnected image node in cycles. Only
used in the "Missing Data" panel. This should be a separate commit but I am squashing it into the same commit because
it relies too much on changes done here and can be reverted easily if complainstorm occurs again.
Campbell Barton [Mon, 6 Oct 2014 14:35:11 +0000 (6 16:35 +0200)]
Fix T4201: AVI Broken when width not multiple of 4
Campbell Barton [Mon, 6 Oct 2014 13:52:49 +0000 (6 15:52 +0200)]
Fix in-between mouse events getting assign to keys
Campbell Barton [Mon, 6 Oct 2014 12:04:55 +0000 (6 14:04 +0200)]
Fix T42075: DnD Material not updating render view
Bastien Montagne [Mon, 6 Oct 2014 08:19:47 +0000 (6 10:19 +0200)]
Fix T42093: segfault when trying to free unallocated depths zbuffer (border-zoom in 3DView).
Thanks to jensverwiebe (jens verwiebe) for investigations too!
Bastien Montagne [Sun, 5 Oct 2014 21:10:44 +0000 (5 23:10 +0200)]
Fix T41983: Array Modifier "Merge" bug?
We messed up previous fix, in 'simplified' translated merge case... :(
Greg Zaal [Sun, 5 Oct 2014 16:35:49 +0000 (5 18:35 +0200)]
Cycles: Center Tile order had a slight offset to the left.
Signed-off-by: Thomas Dinges
Thomas Dinges [Sun, 5 Oct 2014 16:10:42 +0000 (5 18:10 +0200)]
Fix T42081, OpenCL supports float3 since the 1.1 specification, not sure why we needed this.
Campbell Barton [Sun, 5 Oct 2014 15:18:20 +0000 (5 17:18 +0200)]
Fix tgz script (included all files in submodules)
Jens Verwiebe [Sun, 5 Oct 2014 10:45:06 +0000 (5 12:45 +0200)]
OSX/Ghost: little code cleanup
Sergey Sharybin [Fri, 3 Oct 2014 17:24:24 +0000 (3 19:24 +0200)]
Cycles: Fix wrong ifdef check around shadows record all
Campbell Barton [Sat, 4 Oct 2014 13:40:41 +0000 (4 15:40 +0200)]
Fix off by one error drawing passepartout
Bastien Montagne [Sat, 4 Oct 2014 10:52:06 +0000 (4 12:52 +0200)]
Fix T42065: Shading issue using Array modifier
Gah... Dirty normal flag should be set on *real* final dm, after merge is done. :/
Jens Verwiebe [Sat, 4 Oct 2014 08:47:53 +0000 (4 10:47 +0200)]
OSX: simplyfy last commit for fs_menu system_bookmarks
Jens Verwiebe [Fri, 3 Oct 2014 19:01:48 +0000 (3 21:01 +0200)]
OSX: Change the FS_CATEGORY_SYSTEM_BOOKMARKS aka "Favorites", so that the orderwise in sync with finder
Campbell Barton [Fri, 3 Oct 2014 17:41:46 +0000 (3 19:41 +0200)]
Fix for tgz script (whitespace broke it)
Campbell Barton [Tue, 7 Oct 2014 22:02:46 +0000 (8 00:02 +0200)]
Cycles: correct math wrappers
include the parens around value before cast,
in some cases was causing double/float promotion by only casting the left value.
Conflicts:
intern/cycles/kernel/kernel_compat_cpu.h
Sergey Sharybin [Fri, 3 Oct 2014 13:58:58 +0000 (3 15:58 +0200)]
Point submodules to the 2.72 tag
Sergey Sharybin [Fri, 3 Oct 2014 13:28:40 +0000 (3 15:28 +0200)]
move to the release version cycle
Sergey Sharybin [Thu, 2 Oct 2014 16:17:33 +0000 (2 18:17 +0200)]
Fix black matcap when using particle system
Using matcap with a displist is not really good thing to try
and it's actually a regression since we've enabled matcaps
for all objects instead of just an active one.
Conflicts:
source/blender/editors/space_view3d/view3d_draw.c
Campbell Barton [Fri, 3 Oct 2014 11:59:06 +0000 (3 13:59 +0200)]
Fix for 2-sided faces in array modifier
Campbell Barton [Fri, 3 Oct 2014 12:33:50 +0000 (3 14:33 +0200)]
Fix T41983: Array regression with center-verts
Array with rotation and a central pivot would fail.
Thanks to Bastien Montagne for the initial fix.
Bastien Montagne [Fri, 3 Oct 2014 10:12:10 +0000 (3 12:12 +0200)]
Better fix for T42054 - modifiers have a callback to say whether they need normals or no.
Thanks Campbell for the headup!
Bastien Montagne [Fri, 3 Oct 2014 09:58:29 +0000 (3 11:58 +0200)]
Fix T42054: Problem when using Cast modifier with Wireframe modifier.
Wireframe modifier needs valid normals, let's ensure that!
Sergey Sharybin [Fri, 3 Oct 2014 09:27:05 +0000 (3 11:27 +0200)]
Fix T41920: Changing Use Alpha settings doesn't refresh viewport properly
Sergey Sharybin [Thu, 2 Oct 2014 18:47:24 +0000 (2 20:47 +0200)]
Update link to the Support an Animation Movie link
This is to be in the final release.
Sergey Sharybin [Thu, 2 Oct 2014 16:19:54 +0000 (2 18:19 +0200)]
Fix for wrong bit mask magic happening in gpu_update_lamps_shadows()
Campbell Barton [Thu, 2 Oct 2014 14:21:26 +0000 (2 16:21 +0200)]
Fix T42049: Crash exiting /w GL1.1
Sergey Sharybin [Thu, 2 Oct 2014 13:28:07 +0000 (2 19:28 +0600)]
Fix T42030: Grabbing the whole mask interfere with grabbing individual curve
This fix is for the final 2.72 release.
Antony Riakiotakis [Thu, 2 Oct 2014 12:34:53 +0000 (2 14:34 +0200)]
Fix T42033 UVs shown while rendering in texture paint mode.
This should be included in final release build.
Howard Trickey [Thu, 2 Oct 2014 11:49:11 +0000 (2 07:49 -0400)]
Fix for regression on bevel material: need do_version support for earlier files.
Campbell Barton [Wed, 1 Oct 2014 12:36:09 +0000 (1 22:36 +1000)]
Fix T41971: BMesh mapping slot arg error
Daniel Genrich [Wed, 1 Oct 2014 11:32:52 +0000 (1 13:32 +0200)]
Fix Smoke UI property: Low resolution values are needed for pyroclastic smoke effects.
Example values for such an effects are resolution = 10 and high resolution = 5.
Patch by nudelZ
Tamito Kajiyama [Wed, 1 Oct 2014 06:32:46 +0000 (1 15:32 +0900)]
Freestyle: Fix for a typo in the definition of NotBP1D.
This is a safe fix for a regression from 2.71, so should be back ported to 2.72.
Bastien Montagne [Tue, 30 Sep 2014 13:07:44 +0000 (30 15:07 +0200)]
Fix T42026: Unit scale affects camera focal length.
Not a regression, yet maybe simple/safe enough for 2.72?
Bastien Montagne [Tue, 30 Sep 2014 12:22:20 +0000 (30 14:22 +0200)]
Fix compilation on GCC (good old mixed declaration and code).
gaiaclary [Tue, 30 Sep 2014 11:21:53 +0000 (30 12:21 +0100)]
fix T42022 Attempt to export empty set of objects resulted in an exception
Sergey Sharybin [Tue, 30 Sep 2014 09:57:06 +0000 (30 15:57 +0600)]
Fix T42018: Crash when displaying beveled poly-curves with spline bevfac mapping
This fix is for 2.72.
Sv. Lockal [Tue, 30 Sep 2014 09:27:56 +0000 (30 13:27 +0400)]
Use native float math functions for MSVC12
`double` surrogates are slow (e.g. pow is 2x slower than powf), and MSVC12
supports fp-math functions from C99.
Sergey Sharybin [Mon, 29 Sep 2014 14:51:00 +0000 (29 20:51 +0600)]
Fix BI viewport render crash happening with zero render border area
This is better to be backported to the 2.72.
Brendon Murphy [Mon, 29 Sep 2014 13:59:18 +0000 (29 15:59 +0200)]
Update for release themes.
This is to be backported to 2.72.