Campbell Barton
bc5ecbc393
optimization: avoid extra loop in BLI_mempool_destroy(). free the list inline.
2013-07-19 10:40:57 +00:00
Campbell Barton
3daa153d74
code cleanup: use boolean for derived mesh face test function
2013-07-19 10:40:52 +00:00
Campbell Barton
824ec5a388
code cleanup: case & brace placement
2013-07-19 10:40:43 +00:00
Campbell Barton
f4609acedc
optimization: avoid memcpy with shake key vertex array.
2013-07-19 10:40:20 +00:00
Campbell Barton
965d2fd426
code cleanup: inconsistent 'break' placement in BKE_object_minmax
2013-07-19 10:40:12 +00:00
Campbell Barton
efc7b7a285
code cleanup: replace inline loop with BLI_findstring
2013-07-19 10:40:06 +00:00
Campbell Barton
a926d9a0d4
code cleanup: remove redundant multiplying when jittering widget drawing.
2013-07-19 10:40:01 +00:00
Campbell Barton
fea5af0d88
code cleanup: replace wm_macro_modal inline search for BLI_findptr.
2013-07-19 10:39:55 +00:00
Campbell Barton
40c2f52dbf
code cleanup: simplify BLI_parent_dir using BLI_join_dirfile
2013-07-19 10:39:49 +00:00
Campbell Barton
a15ac6ee09
code cleanup: use bool for widget struct, also edit odd strncpy use.
2013-07-19 10:39:44 +00:00
Campbell Barton
33e0bc6b48
code cleanup: avoid sqrt in isect_seg_seg_v2_point
2013-07-19 10:39:37 +00:00
Campbell Barton
79b919644b
code cleanup: remove array reallocation in bmesh duplicate function (use alloca)
2013-07-19 10:39:32 +00:00
Campbell Barton
b7826c42df
enable type limits warning when compiling with gcc.
2013-07-19 10:39:25 +00:00
Campbell Barton
4e1afbe7cd
fix [ #36218 ] Crash attempting to delete right side of hard cut in VSE on movie strip
...
deleting a strip would try free the anim membe twice.
2013-07-19 08:04:05 +00:00
Ton Roosendaal
530bcc422e
Tradtional release commit! 2.68 splash and the numbering.
...
- This should then follow the tagging
- And I would still prefer to have at least 24 hours full freeze, for proper test
and avoid last minute errors.
2013-07-18 10:08:28 +00:00
Sergey Sharybin
a9257b0982
Merging r58330 through r58361 from trunk into soc-2013-depsgraph_mt
2013-07-18 09:29:12 +00:00
Gaia Clary
1d4bd90c84
Avoid creating Morph Controllers when shape key export is disabled
2013-07-18 07:54:19 +00:00
Campbell Barton
66f6ace938
fix for action editor view-selected behaving strangely.
...
- when an fcurve had no selected keyframes, a default fallback value was used which caused view-selected to include frame 1, even when no selected frames were there.
- the vertical axis was always reset, ideally we would center vertically too but the way this operator currently works we only know about the frame range,
now don't change the vertical scroll when viewing selected since it would always jump to the top of the screen (view-all still acts this way).
2013-07-18 02:59:28 +00:00
Thomas Dinges
c04575b974
Merged revision(s) 58241-58355 from trunk/blender into soc-2013-dingto.
2013-07-17 21:43:38 +00:00
Gaia Clary
89f4445b44
Leaf bone length calculation used wrong bone tail
2013-07-17 21:06:27 +00:00
Gaia Clary
f2db6949c2
Fix : #36184 Collada import/export... leaf bone size was not set as needed.
2013-07-17 20:22:08 +00:00
Brecht Van Lommel
64a172907a
Hide unnecessary error print when showing tooltip over a property with no RNA
...
path, ideally this would work everywhere but it's a known limitation, no need
to print an error in the console each time it happens.
2013-07-17 17:31:12 +00:00
Gaia Clary
0b8d9467ea
Added some documentation for the minimal progress bar in blender_python_api
2013-07-17 17:07:11 +00:00
Campbell Barton
352c1e500d
style cleanup
2013-07-17 14:14:50 +00:00
Campbell Barton
d527c669f7
fix [ #36176 ] Connected font Bevel moves inwards for some letter combinations
...
bevel wasn't taking into account overlapping text (bug goes back to 1.8).
2013-07-17 14:05:50 +00:00
Thomas Dinges
c7e2c3f5e1
Possible fix for [ #36086 ] Activating the opencl option in the compositor causes blender crash
...
* Now OCL_init() returns error messages if the OpenCL library cannot be loaded.
2013-07-17 12:57:03 +00:00
Thomas Dinges
a9eccaf85e
Fix for #36150 , missing Preview Render Updates with Add/Remove material slot.
2013-07-17 11:02:51 +00:00
Campbell Barton
4c41ad2299
fix/resolve [ #36173 ] Current frame doesn't update while OpenGL Rendering Animation
...
there was no feedback to the user about the current frame rendering, for longer renders this is no good.
2013-07-17 09:57:02 +00:00
Sergey Sharybin
30445b8252
Merging r58280 through r58329 from trunk into soc-2013-depsgaph_mt
2013-07-17 09:31:57 +00:00
Mitchell Stokes
eb21bdd249
Merging changes from trunk r58091-58323.
2013-07-17 01:40:26 +00:00
Sergey Sharybin
f2e8df2ee2
Remove workaround for draw object free
...
Code around draw objects became safe for threading
and no special workaround is needed in scene update
anymore.
Unused buffers will be freed next time window is
drawing. Some further tweaks maybe needed to how
buffers are freeing, but things shall work for now
nice and stable.
2013-07-16 20:11:08 +00:00
Sergey Sharybin
52c0940c6d
Statistics calculation for threaded update
...
This commit adds per-thread statics for object
update threads which would give you information
about:
- How much objects each thread handled
- How much overall time thread spend on running
object_handle_update.
- How long each of object_handle_update took.
Enabled by ./blender -d
The code is surrounded by ifdef, so shall be
not a problem to drop the code when we don't
need it anymore.
Also added special value for rt (debug_value)
of 13666 which switches scene update to a
single thread. Useful for benchmarking.
2013-07-16 20:11:05 +00:00
Bastien Montagne
20d6cd008b
Style cleanup of UI messages.
...
Mostly, "weight groups" -> "vertex groups", and usual case/endpoints/typos/etc.
As a remainder, please read http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#UI_Messages before writing UI messages!
2013-07-16 13:12:58 +00:00
Brecht Van Lommel
78a3c2ae57
Fix missing render info text in blender internal rendered viewport after
...
previous fix for checking char arrays against NULL.
2013-07-16 12:22:31 +00:00
Campbell Barton
925c5010e8
fix for checking char arrays against NULL, instead check their first character. also remove some dead code (return directly after return).
2013-07-16 11:42:07 +00:00
Campbell Barton
7430701600
correct own incorrect check bmesh edgerin subdivide, also add missing break in orthogonalize_m3 though this one wouldn't effect release builds.
2013-07-16 11:39:48 +00:00
Campbell Barton
922320f86e
fix own regression [ #36154 ] Simple deform modifier doesn't recalculate normals
...
get_cddm and get_dm are called within modifiers so they wont ensure normals are valid, added an arg to optionally ensure valid normals.
2013-07-16 08:24:53 +00:00
Campbell Barton
8a95fccbba
fix [ #36153 ] Crash when choosing a brush.
2013-07-16 06:49:03 +00:00
Campbell Barton
2a417a597d
fix [ #36155 ] Crash with __contains__
2013-07-16 05:29:19 +00:00
Campbell Barton
bbc1945f36
revert part of own commit r58304, gives different behavior when de-selecting with the lasso in some cases, will look into this after release.
2013-07-16 03:41:09 +00:00
Campbell Barton
cf20aa8344
move ED_armature_edit_bone_select() into a more general utility function so view3d-select bone operators can use it and get matching selection behavior when entering editmode.
...
- specifically - write to the connected parents tipsel flag when setting the rootsel flag.
2013-07-16 01:49:20 +00:00
Campbell Barton
6026f133f2
fix for the tip of the bones without connected children de-selecting when entering editmode.
2013-07-16 00:40:12 +00:00
Antony Riakiotakis
e68618a5f2
Fix memory leak in BKE_mesh_vert_poly_map_create.
2013-07-16 00:34:03 +00:00
Mitchell Stokes
5ba2f4367d
BGE: adding a fix so 2D filters work properly with side-by-side stereoscopic rendering.
2013-07-15 22:44:48 +00:00
Mitchell Stokes
efc4b08094
BGE: Fix for [ #36023 ] "Objects of added scene are lit by lights of current scene" reported by Raf Colson (raco).
...
The material caching now keeps a cache per scene. Before materials from different scenes were sharing the same cache.
2013-07-15 22:35:09 +00:00
Sergey Sharybin
39834dbdb5
Style cleanup: task scheduler
...
Campbell will clean this stuff anyway, but better do it
in the branch, so trunk history would stay clean.
2013-07-15 21:51:22 +00:00
Campbell Barton
60e64bcfa7
revert part of own commit r58254, utf8 isnt stepping by 1 always so use less-than comparison.
2013-07-15 21:34:48 +00:00
Sergey Sharybin
2f0e79b684
This shouldn't have gone to svn
2013-07-15 19:18:48 +00:00
Sergey Sharybin
82570cbd47
Utility benchmarking macros
...
This new macros could be used to benchmark overall
execution time of some chunk of code, running in cycle.
The usage is:
void foo(void) {
TIMEIT_BLOCK_INIT(overall_bar);
for (...) {
...
TIMEIT_BLOCK_BEGIN(over_bar);
bar();
TIMEIT_BLOCK_END(oberall_bar);
...
}
TIMEIT_BLOCK_STATS(overall_bar)
}
This would print total time which was spent on
running function bar().
2013-07-15 19:17:45 +00:00
Brecht Van Lommel
28a27e2e9d
Fix text object text entry being broken after recent fix to BLI_strncpy_wchar_from_utf8.
...
Checked other usages of this function but they seem to be fine.
2013-07-15 19:04:49 +00:00