Commit Graph

47594 Commits

Author SHA1 Message Date
Campbell Barton
0d647f68a3 fix: path looper was checking the path of old tessface external data rather then loop data. (missed with bmesh upgrade) 2012-10-02 00:28:01 +00:00
Brecht Van Lommel
4572a82de7 Fix #32712: non-multilayer openexr file save for a single channel image would
write wrong colors for float and crash for half-float.
2012-10-01 20:21:50 +00:00
Sergey Sharybin
20ca67bc35 Fix #32728: File Output node always save as RGBA, even when RGB is selected
Seems to be a regression in new compositor system -- wrong number of planes
was using for image buffer allocation.
2012-10-01 17:38:22 +00:00
Campbell Barton
35ae7dae9e fix for own bug in bmesh api, setting a byte string customdata layer assumed the input data was 256 length, assigning smaller values would read past the buffer. 2012-10-01 15:39:29 +00:00
Campbell Barton
4eb8bceaf8 quiet some warnings. 2012-10-01 15:27:50 +00:00
Campbell Barton
7d1da8b60a fix for unlikely crash if smoke collision data couldn't be read. (pointer was used before doing NULL check) 2012-10-01 15:26:48 +00:00
Campbell Barton
71499c16da possible fix for crashing when re-doing mouse select operator, there was a missing NULL check on space-image. 2012-10-01 15:17:03 +00:00
Campbell Barton
c01dc37e7a fix [#32716] continuous grab bevel inset faces 2012-10-01 14:51:53 +00:00
Campbell Barton
3563904050 revert r50969, gives problems with weight paint + modifiers, need to investigate further after release. 2012-10-01 14:23:57 +00:00
Sergey Sharybin
1795bd600b Fixed memory leak in CustomData_interp in cases when sources count is more than
SOURCE_BUF_SIZE and there's no more destination layers in main cycle of this function.
2012-10-01 14:15:05 +00:00
Campbell Barton
b04b8fd0e8 fix for crash found when attempting to setup testing environment to find crashes :)
scripts that have `Register` enabled and load another blend file would crash blender.
2012-10-01 14:14:21 +00:00
Thomas Dinges
fbc056c9f5 File Output Node:
* Small cosmetic change, move up/down buttons next to the list, instead of beneath. 
* Removed redundant "uiLayout" declarations.
2012-10-01 14:02:47 +00:00
Sergey Sharybin
e7089c0643 Disable render part of display transformation for icon/texture preview
This change mainly caused by too dark icon generated for texture brushes,
but also makes it a bit more straightforward from what's going on point of view.
2012-10-01 12:41:20 +00:00
Sergey Sharybin
3e24c25464 Fix #32686: MovieClip background initialisaton error
Undistorted rendering with original footage settings does not require proxies to be enabled.
2012-10-01 11:26:52 +00:00
Sergey Sharybin
1d7bf727ff Fix #32695: Can't disable color management for 3D view
Made it so viewport will disable color management if display device set to None.

This solves couple of regressions, mainly related on old BGE files and made
None display behave exactly as old color management disabled.
2012-10-01 11:14:02 +00:00
Campbell Barton
c9c76a9a68 add compiler hints that failing to create a bmesh face is unlikely. 2012-10-01 11:12:49 +00:00
Campbell Barton
b6bf0e4952 fix [#32713] Crash with modifiers + GLSL mode
crash caused by own commit r50969, the fix exposed a crash in an area of code that must have never been used before.
2012-10-01 11:05:09 +00:00
Campbell Barton
da656957c3 fix [#31654] Non-proportional edge slide behaving incorrectly. 2012-10-01 10:43:52 +00:00
Campbell Barton
1a19cbb166 fix for some errors when unlinking.
- movieclip unlink didn't clear node ID pointers from the scene (leaving dangling pointers).
- mask datablock unlink was clearning references from scene nodes twice.
2012-10-01 07:54:37 +00:00
Antony Riakiotakis
323ad98496 Fix: gpu_colors_enable could cause 3d display corruption because it always enables glColorMaterial. Make sure to call gpu_colors_disable even if we don't have a mask layer, to match gpu_colors_enable above 2012-10-01 07:53:54 +00:00
Campbell Barton
4b0e41b0a7 fix [#32709] Color mix node produces artifacts from other frames 2012-10-01 06:34:02 +00:00
Campbell Barton
ae32c946e1 style cleanup: define float sizes for interpolation functions, add retirn's on newlines (to better add breakpoints). 2012-10-01 06:18:45 +00:00
Campbell Barton
df298490b8 mask data is no longer automatically added when sculpting (except when there is a multi-res modifier). 2012-10-01 05:19:57 +00:00
Campbell Barton
a9efe26ab8 DM_set_only_copy() wasn't setting only-copy flags for loops and polygons. (should have been added during bmesh merge) 2012-10-01 04:59:21 +00:00
Campbell Barton
ded317840b fix for leak when freeing mask data in editmode. 2012-10-01 04:00:41 +00:00
Campbell Barton
a5367802ac fix for crash deleting higher multi-res levels without mask data. 2012-10-01 03:45:31 +00:00
Sergey Sharybin
168ffbfb67 Revert changes made to support diffuse color when sculpting
This changes are not stable enough and trying fix it could backfire in some
other regressions which isn't wanted so much close to the release.

This means objects will have gray color as diffuse which becomes darker in
masked areas for 2.64.

Proper fix is aimed for 2.65.

This commit reverts 50827 and 50898.
2012-09-30 15:04:46 +00:00
Tamito Kajiyama
e91f33101f Merged changes in the trunk up to revision 50956.
Conflicts resolved:
source/blender/editors/interface/resources.c
2012-09-30 13:16:55 +00:00
Campbell Barton
4b6be3c19b fix for using uninitialized blur falloff for dilate/erode node. 2012-09-30 12:24:29 +00:00
Lukas Toenne
029c2156e9 Fix #32706, Unnecesary refreshing of compositor.
RNA doesn't need to do full update for label changes.
2012-09-30 12:19:25 +00:00
Campbell Barton
275c23f81c fix for double free. 2012-09-30 11:15:40 +00:00
Campbell Barton
818b2e81da missed these last commit 2012-09-30 10:45:37 +00:00
Campbell Barton
9f67ebc351 fix for crash drawing the clip view with a blend file that has lock to selected, but no clip in the view. 2012-09-30 10:39:00 +00:00
Campbell Barton
368e502dba demote library linking errors from ERROR's to warnings, since errors will throw a python exception and stop the script when loading a blend file by calling a python operator. 2012-09-30 10:38:12 +00:00
Campbell Barton
ed1cda9a6c style cleanup 2012-09-30 06:12:47 +00:00
Daniel Salazar
8020b3317c Funny typo, variable blue! 2012-09-30 05:29:27 +00:00
Campbell Barton
9fccfd313c correct addon example, it used both __doc__ and bl_description 2012-09-29 11:51:18 +00:00
Campbell Barton
41965e197c - transform's createTransCurveVerts was using both CTX_data_edit_object(C) and t->obedit, now only use t->obedit.
- freeing bez-triple handle data was being done in a loop for many types which don't support bezier handle data.
2012-09-28 14:51:33 +00:00
Campbell Barton
b0fb857ef2 fix [#32684] Shrink/Fatten tool has odd behavior 2012-09-28 14:31:07 +00:00
Brecht Van Lommel
4cf06b97dd Fix #32671: new orbit sensitivity and turntable/trackball choice was only available
from special NDOF menu, added them in user preferences as well now. Also made it do
proper version patch for conversion from old user preferences, and changed turntable
choice from a boolean to enum for consistency.
2012-09-28 12:37:14 +00:00
Sergey Sharybin
cd560a1e6a Made View2D drag zoom behave in the same way as zoom in 3d viewport
Initially issue was caused by opposite MMB-Drag zoom direction in nodes editor.

Made it so MMB-Drag in negative axis direction (down for Y axis and left for
X axis) would zoom in, moving in opposite direction will zoom out.

This could kind of break muscule memory, but after discussion with Campbell
decided it's not so big a problem -- seems users weren't related on direction
of zoom in and just waved mouse around until zoom is correct. And now muscule
memory should even be a bit better -- drag zoom is unified between different
areas.
2012-09-28 12:01:21 +00:00
Sergey Sharybin
de1f84783b Fix #32673: long strings were wrongly clipped when modifying
It was a regression in svn revision 50676 -- button's string width
should be calculated taking button offset into account.

However, check for button offset should check string width without
offset taken into account.
2012-09-28 11:28:23 +00:00
Campbell Barton
ad3f01e1d8 fix/workaround [#31811] Subdivision Surface (Apply modifier to editing cage during Editmode) Loop Cut Crash
A correct fix for this bug likely involves changuing how operators are called in the event loop but such changes better not be made just before the release.
2012-09-28 11:02:43 +00:00
Campbell Barton
79d8367974 add warning that RNA update callbacks dont have checks for infinite recursion. 2012-09-28 09:35:32 +00:00
Campbell Barton
a8ec2a536d fix [#31476] DopeSheet GreasePencil Mode Window won't scroll up 2012-09-28 09:12:02 +00:00
Campbell Barton
0af15a08da correct own typo from r43404 2012-09-28 09:00:42 +00:00
Campbell Barton
589ada7f0c code cleanup: correct spelling 2012-09-28 06:45:20 +00:00
Campbell Barton
d732e05740 fix for header not updating with an error report when a job finishes.
was reported as a reply to [#32537], but is a different issue then the original report.
2012-09-28 04:00:06 +00:00
Campbell Barton
e1897f8c4a fix [#32678] Changing RGB Curve via 'X' or 'Y' coordinates does not update 2012-09-28 01:47:45 +00:00
Campbell Barton
1418f69df3 fix/workaround [#32679] Save a Copy during F12 Cycles Render produces black image
image-save now poll's for rendering while saving an image, this can't easily work in a reliable way (buffers are being written to), so disable and set the poll fail message so the tooltip explains why this tools disabled.
2012-09-28 01:16:26 +00:00