Commit Graph

34509 Commits

Author SHA1 Message Date
Tamito Kajiyama
7afbdff1b6 Fix for a crash due to the changes in the trunk revision 50087 for thread safety in curve evaluation.
Problem report from Vicente Carro with an example .blend file for reproducing the issue.  Thanks!
2012-09-23 15:05:29 +00:00
Tamito Kajiyama
4172997675 Merged changes in the trunk up to revision 50607.
Conflicts resolved:
source/blender/blenloader/intern/readfile.c
2012-09-15 00:15:24 +00:00
Gaia Clary
a77d048f66 Collada: #32549 partial fix: packed images now export correctly 2012-09-14 22:31:26 +00:00
Sergey Sharybin
b48398c96a Correction to rev50582: LABEL could have a1 = 1.0f and in this case a2 would be used as alpha multiplier for icon 2012-09-14 16:41:00 +00:00
Sergey Sharybin
8791eaa5b0 Movie cache: made it thread safe to operate with memory limitor
Movie cache is using global memory limitor, which isn't thread safe
in some of operations, so it required to add mutex around limitor
operations in movie cache.

It's probably could be solved in a way with less locks involved by
using different limitor for different areas (like use own limitor
for clips, own limitor for sequencer and so), but that wouldn't be
so easy to control overall memory usage.

--
svn merge -r50125:50126 ^/branches/soc-2011-tomato
2012-09-14 14:55:59 +00:00
Sergey Sharybin
cd4ffe496a Sequencer: clear cache and animation buffers for strips outside of cursor when rendering
This avoids having bunch of cached images when doing animation rendering,
keeping all the memory available for rendered itself.

This keeps memory usage low when rendering huge edits with mixed
scenes and movie strips.

This should not affect on sped of video encoding, which was confirmed by
some own tests.

--
svn merge -r50051:50052 ^/branches/soc-2011-tomato
2012-09-14 14:28:24 +00:00
Brecht Van Lommel
c849928d1c Code cleanup: removed unused Cocoa image load/save code. 2012-09-14 11:42:05 +00:00
Campbell Barton
e762797af5 fix for sharp edge selection being inverted, change default angle from 1 to 30deg. 2012-09-14 11:10:03 +00:00
Campbell Barton
7a71f58af3 fixes for NULL checks, remove some redundant checks and add some in that have been removed by accident as code has been updated. 2012-09-14 06:17:14 +00:00
Campbell Barton
3957efdd38 fix for out-of-bounds checks for fcurve modifier and poselib, also check for NULL members of avi structure (since they are checked for NULL later.) 2012-09-14 06:15:46 +00:00
Campbell Barton
f6c7a69565 code cleanup: correct misleading use of LABEL button type. 2012-09-14 05:44:47 +00:00
Campbell Barton
e74701fbfc node transform was using PET mode (drawing a circle - but it did nothing), disable PET for nodes. 2012-09-14 01:28:26 +00:00
Campbell Barton
883117077b fix for 2 crashes freeing masks
- freeing a mask from RNA BKE_libblock_free() twice on the mask.
- loading a new blend file would only free the mask and not unlink it from nodes - it would access freed memory.
2012-09-14 01:15:08 +00:00
Dalai Felinto
622ac250f9 bge cleanup caught by accident while going over the code, it seems someone forgot to use rect_height everywhere (no functional change) 2012-09-13 23:39:09 +00:00
Brecht Van Lommel
888c4fd253 Fix #32547: unwrap on default cube got broken in recent commit. 2012-09-13 13:29:10 +00:00
Sergey Sharybin
c3b808721b Sequencer: add missed cache invalidation
Invalidation was missed for:

- Strip (Un)Muting
- Changing speed effect
- Strip translating
2012-09-13 10:51:18 +00:00
Sergey Sharybin
81d22a0e6b Sequencer: fix invalid update when translating strip which is behind semi-transparent strip 2012-09-13 10:51:13 +00:00
Campbell Barton
05755d307a fix [#31946] Masking doesn't respect pixel ratio 2012-09-13 05:29:38 +00:00
Campbell Barton
c5310521f8 fix for drawing non 1:1 aspect masks, transform and selection still need support. 2012-09-13 02:28:48 +00:00
Campbell Barton
ab48f2108b - cmake macro list_insert_after/list_insert_before now error when the item passed is not found in the list.
- BKE_pose_copy_data() check for target pointer is no longer valid and infact comparing against un-initialized memory in some cases.
2012-09-13 01:52:58 +00:00
Campbell Barton
4cb6d5d214 code cleanup: reduce calls to CTX_ functions inline, add some docs to mask rasterizer. 2012-09-13 01:50:21 +00:00
Mitchell Stokes
3e4b353cfa BGE: LibLoaded sensors that made use of physics controllers (touch, collision) could cause various physics problems (like infinite loops in Bullet, etc). This happened because their KX_TouchEventManagers were merged prior to having their physics controllers merged, which has now been fixed. Thanks to Kupoman for hunting down the fix! 2012-09-13 00:46:50 +00:00
Campbell Barton
12da3d999b modifications needed to get a URL from an RNA id from the testing script 2012-09-13 00:26:01 +00:00
Campbell Barton
2596a0bd24 test script to check rna/wiki lookup completeness 2012-09-13 00:17:38 +00:00
Campbell Barton
f66d11cf77 fix for missing NULL check in own recent commit, thanks Gaia for pointing this out. 2012-09-12 23:19:08 +00:00
Gaia Clary
0a0074f9c6 Collada: do not call polylist export for objects with no polygons (avoid a missleading warning message) 2012-09-12 18:26:01 +00:00
Brecht Van Lommel
272700728f Fix #32338: particle instance modifier did not work well when the mesh had only
vertices. Previously it would hide particles by creating invalid faces, but this
didn't make the vertices actually disappear.

Also found that it could generated corrupt geometry for cases with faces, which
gave wrong subsurf and could crash in edit mode.
2012-09-12 16:42:24 +00:00
Gaia Clary
ab77d11bdb #31682: corrected some minor typos in the comment 2012-09-12 15:48:22 +00:00
Gaia Clary
26260ffc74 #31682: partial fix (the export): Avoid to copy exported image into itself 2012-09-12 15:41:58 +00:00
Brecht Van Lommel
7ed5d19c24 Fix #32543: screw modifier with smooth shading disabled still had one segment
smooth shaded.
2012-09-12 13:06:31 +00:00
Brecht Van Lommel
585cfff87a Fix #32031: particle distribution on degenerate faces could give NaN values,
which in this case caused NaN values in render lighting.
2012-09-12 13:06:28 +00:00
Campbell Barton
db1191d451 fix [#31019] [Minor] Freshly added nodes aren't getting undo push
also noticed ED_undo_push was checking USER_GLOBALUNDO unnecessarily
2012-09-12 11:09:27 +00:00
Thomas Dinges
d86f1f67fd Cycles UI:
* Non-Progressive UI couldn't be displayed if the device was set to GPU, but User Preferences Device was NULL. (for example when opening .blend file on another computer without GPU capabilities)

* Fix missing update in the Properties editor, when changing compute_device.

This fixes [#32115] OSX and cycles no non-progessive sample input settings appearing in interface.
2012-09-12 10:54:25 +00:00
Campbell Barton
08cbfff67c add note that clip start is for perspective view only. 2012-09-12 10:18:35 +00:00
Campbell Barton
f637a52272 fix [#30324] VSE: Right-Click does not select directory 2012-09-12 10:04:09 +00:00
Campbell Barton
9a07bd78fc add clarification, without this the tool reads as if it makes the radius of each selected vertex equal. 2012-09-12 06:31:26 +00:00
Campbell Barton
77e351300b code cleanup: replace BM_DISK_EDGE_LINK_GET define with inline function, that checks for the vertex not matching either of the edges verts. 2012-09-12 05:11:38 +00:00
Campbell Barton
bd5fdf63cb fix [#31456] Extreme lag editing meshes
running BM_CHECK_ELEMENT was taking over 75% of the time to subdivide a mesh, since this only reports errors, and is so slow - only run this on non-release builds.
2012-09-12 04:53:49 +00:00
Campbell Barton
0ee9075e48 fix memory leak when baking feedback loop detected. 2012-09-12 03:11:29 +00:00
Campbell Barton
380a6174d9 fix [#32537] Inconsistent behaviour of Texture Baker
feedback looks wen't being detected in some cases causing very confusing behavior.
2012-09-12 03:05:20 +00:00
Campbell Barton
b4df6b2819 code cleanup: changing the INT define to an enum conflicts with INT typedef on windows, use more verbose names for button pointer types. also removed some redundant flags from buttons. 2012-09-12 00:32:33 +00:00
Campbell Barton
62adcad9bd fix [#32444] Proportional Edit stays on on Pose Mode, after activating it in Object Mode.
disable PET in posemode.
2012-09-11 23:37:17 +00:00
Campbell Barton
319831d7b8 code cleanup: use an enum for uiBut->pointype (more useful debug display of members),
and rename COL -> COLOR --- less confusing since the layout engine has row/col's.
2012-09-11 23:10:23 +00:00
Campbell Barton
ed6215bff1 a-z menu input now works for enum popups. 2012-09-11 22:55:27 +00:00
Dalai Felinto
f0ea636b67 bugfix [#32538] 'Mouse Over Any' sensor 'Pulse' button missing since 2.5x [Patch] - based on the patch from HG1 2012-09-11 22:55:14 +00:00
Jeroen Bakker
773ea9b93d Fix for [#32536] Mixing with translated images in compositor produces
garbage strips for each tile

Promoted the behaviour of combine channels to node operation so that all
nodes use the same implementation. (CombineChannel had a better
implementation)
2012-09-11 16:57:05 +00:00
Campbell Barton
2cdfa33137 fix [#29616] Crash/infinite loop from missing cyclic check in group/dupligroups (unlikely/intentional)
calling BKE_ptcache_ids_from_object() could recursively call BKE_object_handle_update(), when there is no reason to update object transforms at all. Add option not to do any updates and just return an object list.
2012-09-11 10:18:45 +00:00
Campbell Barton
10d18e5b5f code cleanup: use min/max inline functions rather than macros & simplify loop 2012-09-11 09:39:37 +00:00
Campbell Barton
39231c90dd fix [#31738] BM_vert_splice modifies loops during iteration
patch by Nicholas Bishop, modified to avoid looping over vert-loops one extra time.

added BM_iter_as_arrayN(), returns an iterator as an array without knowing the length before calling.
2012-09-11 06:12:48 +00:00
Campbell Barton
2f436612fe replace BM_vert_face_count() use of BM_LOOPS_OF_VERT iterator with a direct call to bmesh_disk_facevert_count() 2012-09-11 05:27:15 +00:00