Commit Graph

47594 Commits

Author SHA1 Message Date
Sergey Sharybin
8904429287 Fix #32156: Blender crashes on linking armature with custom shape
Crash was caused by using NULL pointer as a wire color for drawing
object selection when drawing flag is set to DRAW_CONSTCOLOR.

Solved by not calling drawObjectSelect when DRAW_CONSTCOLOR flag
is set, which seems reasonable -- rather than adding checks deeper
in all possible functions which are being called there easier to
just not call that functions using a single check.
2012-07-22 14:22:07 +00:00
Antony Riakiotakis
dc48fcfac0 Add property to stitch operator to clear seam flag of stitched edges (on
by default, since people usually want the layout to be updated).
Motivation has been confused user that tried to use live unwrap
afterwards and found that it would not work as it should.
2012-07-22 14:19:06 +00:00
Campbell Barton
2b286585af fix for node editor re-rendering when the background image was moved in the view. 2012-07-22 13:13:36 +00:00
Sergey Sharybin
43979f2d71 Increase maximal video bitrate to 64K
Aimed to #32153: H.264 Output Bitrate Max of 14000 kb/s is Too Low
2012-07-22 12:48:19 +00:00
Campbell Barton
9b51503307 style cleanup 2012-07-21 22:58:08 +00:00
Sergey Sharybin
130b6bad4e Merging r49105 through r49107 from trunk into soc-2011-tomato 2012-07-21 19:21:12 +00:00
Campbell Barton
2a98e83abd style cleanup 2012-07-21 16:21:42 +00:00
Campbell Barton
7baf3d2ece svn merge ^/trunk/blender -r49082:49104 2012-07-21 15:40:47 +00:00
Campbell Barton
62a73381a7 use fabsf when using floats. 2012-07-21 15:27:40 +00:00
Sergey Sharybin
1bb7cfded6 Merge mask fixes from tomato branch
--
svn merge -r49075:49076 -r49086:49087  ^/branches/soc-2011-tomato
2012-07-21 09:01:39 +00:00
Sergey Sharybin
21e3e3b8fc Fix incorrect RNA access in parenting operator 2012-07-21 08:50:11 +00:00
Campbell Barton
d9fcbe2f59 remove BMO_OP_FLAG_RATIONALIZE_NORMALS option which wasnt used anywhere. 2012-07-21 01:09:11 +00:00
Campbell Barton
90d215535e add option so operators can be called with a flag, currently the only flag is to respect hidden geometry.
this is useful for bmesh tools that operate in object mode or for modifiers which would previously use hidden faces in some cases.
2012-07-21 00:58:02 +00:00
Tamito Kajiyama
3b012c041f Merged changes in the trunk up to revision 49090. 2012-07-20 23:12:05 +00:00
Campbell Barton
16516238e2 patch [#32152] Make NlaTrack.is_solo settable
from Peter Amstutz (tetron)
2012-07-20 19:11:47 +00:00
Lukas Toenne
44800e884c Masking: prevent crashes in cases when mask spline is axis aligned 2012-07-20 17:28:42 +00:00
Lukas Toenne
f883337ba3 Fix #32118, Reroute nodes inside groups get created in wonky places.
Previous attempt was not taking into account parent nodes of the group nodes (i.e. frames). The nodeFromView function should be used to convert between relative node location to absolute view space. Also added this in the node_add_node helper function, which is used in a number of operators for adding nodes in a specific location.
2012-07-20 15:07:06 +00:00
Sergey Sharybin
7271f8e38f Color management: threading fixes and partial buffer update refactor
There used to be an issue in colormanage_cache_get which lead to
wrong reference number counter in cases when exposure / gamma
does not match values stored in cache. In this case cache handle
should be set to NULL, no callee function could always call
buffer release function (as it was intended to).

Made display buffer acquire / release functions thread safe.
This applies to "external" API only, internal helpers are
non-thread safe for performance issues, so if one uses them
he need to be careful.

Converted partial display buffer update into a single function
which still updates all display buffer ever created for given
image buffer. This means that it's not needed to create any
kind of context first and if there're display buffers created
in-between of partial updates they would also be updated with
next calls of partial updates.

This allowed to make render result nicely color managed during
rendering, meaning that render progress is visualisable with
color management for image editor set up.
2012-07-20 14:16:25 +00:00
Campbell Barton
10f14fb181 svn merge ^/trunk/blender -r49067:49082 2012-07-20 14:02:51 +00:00
Campbell Barton
80a24a2ff5 fix for compositor bug, mix node operation clamp was uninitialized.
made HSV node randomly clamp values from 0-1.
2012-07-20 14:01:43 +00:00
Campbell Barton
e94ef6ca6c ignore hidden faces when splitting by loose parts of materials. 2012-07-20 13:54:05 +00:00
Joshua Leung
054b78d74b Commented out "Filter" FModifier type entry in type enum. This doesn't exist
yet, and likely won't exist for a while.
2012-07-20 12:33:35 +00:00
Joshua Leung
684affe549 Code cleanup - missing indention be gone!
(And fixed some incorrect comments)
2012-07-20 12:29:56 +00:00
Joshua Leung
54d2921508 Keyframes from lib-linked actions are now drawn ghosted (just like those of
protected/unmodifiable channels),
2012-07-20 12:18:45 +00:00
Sergey Sharybin
8568ce6fc8 Mask rasteriyer: fixed wrong bounding box calculation
for non-cyclic splines
2012-07-20 10:35:46 +00:00
Campbell Barton
3b26b46631 Separate meshes by loose parts and materials now works in object mode as well as editmode. 2012-07-20 10:33:15 +00:00
Campbell Barton
c8db1e832d minor edits for bmesh api 2012-07-20 09:49:54 +00:00
Campbell Barton
88cf37e9bc quiet formatting warnings when international was enabled. 2012-07-19 21:55:16 +00:00
Jeroen Bakker
579a4a02a5 Possible fix for [#32141] Crash when using a mask as the factor input
for a color combine (mix) node with render resolution at 100%

Seems to be that the MaskNode has been created as a complex node. But no
complex features were used. Converted the execute pixel to simple
execution. And it sees that the crash does not happen.

Not sure if it is the issue is solved. I am going to let the user retest
with this revision.
2012-07-19 17:28:37 +00:00
Campbell Barton
7200172990 svn merge ^/trunk/blender -r49063:49067 2012-07-19 13:07:33 +00:00
Campbell Barton
776c6e66b2 add lattice selection to rna 2012-07-19 11:40:25 +00:00
Campbell Barton
99c97e5aa3 svn merge ^/trunk/blender -r49061:49063 2012-07-19 11:35:45 +00:00
Jeroen Bakker
a56f4fee38 Fix for
* [#32040] size-input of a blur-node is uniform for the whole picture
 * [#32062] Blur node Size input is not working with 
 * [#32140] Blur Node using a greyscale input as size multiplier fails
to work

Node now has a new option (new compositor cannot detect if the connected
part is a single value, or an image connected).

With this option the use of a reference image to multiply the size of
the blur per pixel can be enabled/disabled.

Regards, 
Jeroen
 - At Mind -
2012-07-19 11:05:18 +00:00
Campbell Barton
371e259a0b svn merge ^/trunk/blender -r49037:49061 2012-07-19 10:29:39 +00:00
Campbell Barton
9c8edae7d4 fix for separate loose parts doing full depsgraph rebuild for every object split off. 2012-07-19 10:23:25 +00:00
Campbell Barton
4bc46b18d1 handy function for getting a python stacktrace while debugging in gdb 2012-07-19 09:55:49 +00:00
Campbell Barton
4408a4aeff remove unneeded externs 2012-07-19 09:23:31 +00:00
Lukas Toenne
2721a17a31 Fix #32118, Reroute nodes inside groups get created in wonky places. The operator needs to take into account the potential offset from the group node (most operators use the node_add_node helper function which does this). 2012-07-19 08:23:56 +00:00
Campbell Barton
250cdd5e52 code cleanup: remove commented includes - mostly from 2.4x 2012-07-18 23:07:07 +00:00
Campbell Barton
d0e892a728 quiet double promotion warnings for the game engine. 2012-07-18 23:03:27 +00:00
Campbell Barton
db14b97be6 mask transform aspect correction wasn't working properly, also fix for own recent commit which made cyclic report not show 2012-07-18 20:32:31 +00:00
Campbell Barton
bccc6b12b5 svn merge ^/trunk/blender -r49035:49037 2012-07-18 17:33:27 +00:00
Campbell Barton
6423461247 shift help with continuous grab on a curve point now does scaled motion. 2012-07-18 17:29:15 +00:00
Campbell Barton
9d79d2bee8 svn merge ^/trunk/blender -r49029:49035 2012-07-18 16:26:07 +00:00
Campbell Barton
c8029bffd9 workaround for a bug with zero edges getting removed got feather faces out of sync and crashed 2012-07-18 16:24:13 +00:00
Bastien Montagne
45738ef8dc Add Skin modifier's radius values to Transform panel (in 3D views). 2012-07-18 14:30:31 +00:00
Campbell Barton
c0e004bd61 add difference blending mode, also fix error in last commit 2012-07-18 13:44:48 +00:00
Campbell Barton
73a778a4d0 change bucket size to give better performance for high detail 4k masks, also clamp from 0-1 for each layer when accumulating. 2012-07-18 13:34:14 +00:00
Campbell Barton
6dc50955d7 svn merge ^/trunk/blender -r49024:49029 2012-07-18 12:56:36 +00:00
Campbell Barton
cfb3194945 code cleanup for mask capping 2012-07-18 12:54:13 +00:00