Campbell Barton
34ae5bd378
UI: uiContextActivePropertyHandle wasn't passing the event to the uiBlockHandleFunc
2014-06-14 18:14:53 +10:00
Campbell Barton
8d96ea8322
BLI_rand: add BLI_rng_get_float_unit_v2
2014-06-14 18:12:19 +10:00
Campbell Barton
b54793ef02
Editmesh: remove redundant normal calculation call for subdivide
2014-06-14 17:55:07 +10:00
Campbell Barton
577e4f8d9e
UI: remove OpenGL calls from ED_region_init, now handled elsewhere
2014-06-14 17:40:33 +10:00
Campbell Barton
8cd9d784c7
Replace sqrt with hypot for wipe-effect & transform code
2014-06-14 17:34:52 +10:00
Campbell Barton
94d4b31323
Math Lib: mat3_to_eulo2 & mat3_to_eul2 mixed float/double differently
...
replace sqrt with hypotf to avoid precision loss instead
2014-06-14 17:10:46 +10:00
Campbell Barton
29e8c46e30
Rename 'Extend Vertex' to be clear it operates on many vertices
2014-06-14 16:27:46 +10:00
Campbell Barton
746f0ad257
Polyfill2d: use kd-tree
...
Simple search for intersections became slow for larger concave ngons (100+)
Tested to work with ngons up to 75k sides, performance is approx ~6x faster then scanfill.
This is a 2D version of BLI_kdtree with modifications:
- nodes can be removed
- an index -> node map is stored (especially for tessellation)
2014-06-14 08:27:19 +10:00
Campbell Barton
19b1da2b7b
Polyfill2d: avoid calculating polygon winding (its known in all cases)
2014-06-14 08:21:52 +10:00
Campbell Barton
7529e36f49
Polyfill2d: Switch directions on concave triangles
...
Better topology and minor speedup
2014-06-14 08:21:51 +10:00
Campbell Barton
f0f45eea2e
Polyfill2d: replace array with linklist, faster resizing
...
approx 4.0x speedup
2014-06-14 08:21:51 +10:00
Thomas Dinges
6cd5954246
Implement GLSL code for XYZ nodes.
2014-06-13 23:23:55 +02:00
Thomas Dinges
3de3987ea1
Cycles: Add dedicated nodes to split/combine vectors.
...
This was already possible via the RGB nodes, but that seems weird.
2014-06-13 21:59:14 +02:00
Dalai Felinto
2b7ff6de06
Bake-API: increase cage extrusion/ray distance limit
...
Fix to include in 2.71 (asked via BlenderArtist)
2014-06-13 15:55:05 -03:00
Campbell Barton
ecb7905127
Resolve MSVC error
2014-06-14 04:46:37 +10:00
Sergey Sharybin
a87fb34eda
Use advantage of SSE2 instructions in gaussian blur node
...
This gives around 30% of speedup for gaussian blur node.
Pretty much straightforward implementation inside the node
itself, but needed to implement some additional things:
- Aligned malloc. It's needed to load data onto SSE registers
faster. based on the aligned_malloc() from Libmv with
some additional trickery going on to support arbitrary
alignment (this magic is needed because of MemHead).
In the practice only 16bit alignment is supported because
of the lack of aligned malloc with arbitrary alignment
for OSX. Not a bit deal for now because we need 16 bytes
alignment at this moment only. Could be tweaked further
later.
- Memory buffers in compositor are now aligned to 16 bytes.
Should be harmless for non-SSE cases too. just mentioning.
Reviewers: campbellbarton, lukastoenne, jbakker
Reviewed By: campbellbarton
CC: lockal
Differential Revision: https://developer.blender.org/D564
2014-06-14 00:38:07 +06:00
Dalai Felinto
b0708dd718
Bake-API: handle objects with no faces (fix T40601)
...
Also it has a better error handling for the BVHTree creation
Fix for 2.71
2014-06-13 14:37:59 -03:00
Campbell Barton
8957609f35
Sequencer: add support for grease pencil rendering in previews
2014-06-14 03:25:07 +10:00
Campbell Barton
f37c971878
Code cleanup: use ED_gpencil_ prefix for grease pencil
2014-06-14 02:54:17 +10:00
Campbell Barton
b96172cb05
UI: Add back ability to select a custom interface font
2014-06-14 02:32:38 +10:00
Campbell Barton
5861e528d6
New Editmesh Tool: Extend Vertex, (Alt+D) D512
...
Helps to easily add details to existing edges.
Similar to the rip tool it depends on cursor location to choose the edge to extend along.
2014-06-14 01:43:25 +10:00
Campbell Barton
cb7915fc60
Automatically generate blender.1 man page during build process
...
Patch T40418 by Lawrence D'Oliveiro
2014-06-14 01:19:58 +10:00
Campbell Barton
2ca497d84d
Revert part of rB477f35 (error resolving conflict)
2014-06-14 01:06:49 +10:00
Campbell Barton
6c0926e802
Code cleanup: use const for mouse location arg
2014-06-14 00:47:12 +10:00
Campbell Barton
bf462149a6
BLI_bitmap: rename macros
...
- BLI_BITMAP_SET -> BLI_BITMAP_ENABLE
- BLI_BITMAP_CLEAR -> BLI_BITMAP_DISABLE
- BLI_BITMAP_GET -> BLI_BITMAP_TEST
- BLI_BITMAP_MODIFY -> BLI_BITMAP_SET
2014-06-14 00:47:12 +10:00
Campbell Barton
a427fa5261
BLI_bitmap: typecheck maco
2014-06-14 00:47:12 +10:00
Campbell Barton
341fd67fbf
Add string escaping support for BLI_str_quoted_substrN
2014-06-14 00:47:12 +10:00
Campbell Barton
9db947df41
Editmesh: Replace SmallHash with GSet for MESH_OT_loop_to_region
...
There no reason to assume hash will be small in this case
2014-06-14 00:47:12 +10:00
Campbell Barton
365ff66987
GSet, GHash: Add BLI_gset_add, since its common to add members to a set
...
also rename BLI_edgeset_reinsert -> BLI_edgeset_add, in this case its the same.
2014-06-14 00:47:12 +10:00
Campbell Barton
8bd4b7361b
BLF: use NONNULL & WARN_UNUSED_RESULT attrs & remove unneeded NULL check
2014-06-14 00:47:11 +10:00
Campbell Barton
0e085c637e
BLI_kdtree: use UNLIKELY
2014-06-14 00:47:11 +10:00
Campbell Barton
f663c4f857
Code cleanup: UI, unnecessary float/int conversion
2014-06-14 00:47:11 +10:00
Campbell Barton
f3e4f42665
Code cleanup: remove hack for older GCC (4.2x and newer work without)
2014-06-14 00:47:11 +10:00
Campbell Barton
1962e21703
Code cleanup: remove redundant arg from ARRAY_LAST_ITEM
2014-06-14 00:47:11 +10:00
Campbell Barton
c3c04fe582
Code cleanup: remove redundant NULL check
2014-06-14 00:47:11 +10:00
Campbell Barton
477f35559c
Code cleanup: reorder BKE_scene_use_new_shading_nodes checks last
2014-06-14 00:47:11 +10:00
Campbell Barton
a85b85101b
Code cleanup: replace interp_v2_v2v2 with mid_v2_v2v2
2014-06-14 00:47:11 +10:00
Campbell Barton
953559a794
Code cleanup: avoid call to BLI_countlist
2014-06-14 00:47:10 +10:00
Campbell Barton
e3b47c1e03
Code cleanup: BLI_strdupn -> BLI_strdup
2014-06-14 00:47:10 +10:00
Campbell Barton
6a75ecda9b
Code cleanup: spelling
2014-06-14 00:47:10 +10:00
Sergey Sharybin
2e56182311
Detect version suffix based on release cycle and version char
...
Should make it less error-prone for release tagging/ahoy.
2014-06-13 20:19:02 +06:00
Thomas Dinges
d85c2306b4
Start of the 2.72 release cycles, BCon1.
...
Reminder for developers: Please document new features immediately after commit in the WIP release logs. No commit without docs. :)
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72
2014-06-13 16:14:15 +02:00
Campbell Barton
7aea3acc03
Splash: enable rc label
2014-06-13 04:39:10 +10:00
Campbell Barton
a8532fb3dd
Fix T40596: Node link menus flipped & events inverted
2014-06-13 04:05:40 +10:00
Sergey Sharybin
9ef7486a38
We're entering 2.71rc state now
...
Meaning we do subversion bump and hopefully only splash
screen separates us from the final release. Unless some
bad regression is being discovered..
2014-06-12 22:32:18 +06:00
Campbell Barton
9f0466fb6b
Quiet double promotion warning & ws edit
2014-06-13 02:22:40 +10:00
Campbell Barton
ce460c6179
Fix crash running in background mode
2014-06-13 01:05:56 +10:00
Howard Trickey
8c2b5ffb11
Fix Bevel bug T39746, small scale gives flat profile.
...
With very small meshes or very small bevel amounts, the bevel
profile would be flat even if a round one was requested.
Problem was that the code was checking the length of a cross
product for closeness to zero to test coplanarity. Needed
to normalize things before making that test to account for scale.
2014-06-12 10:22:10 -04:00
Sergey Sharybin
20550d6f7f
Fix T40582: issues with apply scale when having multires and scene simplify
...
Reshape and applying scale matrix on multires needs to create DM with simplify
setting disabled. Added a special flag to modifier apply for this now.
2014-06-12 13:49:46 +06:00
Dalai Felinto
aed67dc8a4
Bake-API: Set Custom Cage to be Cage Object
...
Suggestion by Andy Davies (metalliandy) to conform with industry standard (custom cage is something else apparently)
Note: this is the last bake related commit I plan for 2.71/rc (unless
everyone agrees that we could squeeze in D546 - custom UVs, which would
be really nice to add for 2.71 scripters)
Note 2: I'll update the wiki docs shortly
2014-06-11 22:49:30 -03:00