Commit Graph

34237 Commits

Author SHA1 Message Date
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
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
Antony Riakiotakis
6ce0c433ce Fix compilation issue on MinGW, thanks to Sergey for the fix 2012-09-27 15:49:15 +00:00
Brecht Van Lommel
06baaeee22 Fix #32658: left mouse button selection did not work well in the graph and mask
editors. Ctrl+Click to add a point and vertex slide now work with right mouse
button in this case, consistent with the 3D view.
2012-09-27 15:30:20 +00:00
Brecht Van Lommel
509e7c5cdf Fix #32670: lamps in lamp groups did not respect renderability option. 2012-09-27 15:30:13 +00:00
Sergey Sharybin
771c49b991 Fix #32669: Markers are not disabled properly if started from any other than first frame.
Was own mistake in code refactoring from a while ago.
2012-09-27 14:47:23 +00:00
Bastien Montagne
3a788ffd66 Fix/enhancement of "locale to po file name" code. Now should handle nicely locales like "gez_ER@abegede", and never read uilng string beyond its end! 2012-09-27 14:38:20 +00:00
Sergey Sharybin
c1abde5935 Fix #32667: Curve softbodies doesn't render animation (cycles)
Issue was caused by cycles being duplicated curve objects before converting
them to mesh. This duplication will loose pointcache which resulted in object
not being properly deformed.
2012-09-27 14:37:20 +00:00
Campbell Barton
d4e40b5230 fix [#32616] Changing parent does not keep transformation
add an option to apply the transform of an object when re-parenting.

the reason for this is you dont always want to apply transform because...
- your object may be driven/animated and the transformation will be lost.
- with negative scales and rotation it can end up giving odd/not-useful results.
2012-09-27 12:24:38 +00:00
Campbell Barton
f3850ca13b fix for adding triangle-fan filled circle not tagging the center vertex. 2012-09-27 03:32:13 +00:00
Campbell Barton
4e99ff0481 fix [#32672] Crash when rendering environment map
own regression since 2.63
2012-09-27 02:56:46 +00:00
Campbell Barton
c5baae40f7 wm_event_do_handlers was calling sound_sync_scene() twice without error checking the result of the second call. 2012-09-27 02:18:14 +00:00
Campbell Barton
7b31b44241 don't draw the object center circle when in sculpt mode (all other paint modes have it disabled). 2012-09-26 22:39:10 +00:00
Campbell Barton
b6ac10f42a minor change for sculpt undo, was getting the derived-mesh before calling sculpt_update_mesh_elements().
also add NULL check for BKE_key_from_object(), to avoid unlikely but possible NULL pointer dereference.
2012-09-26 22:09:56 +00:00
Campbell Barton
8a51d235e6 pep8 cleanup 2012-09-26 21:19:51 +00:00
Campbell Barton
dbeddcdbce style cleanup: also correct incorrect doxy heading 2012-09-26 20:26:31 +00:00
Campbell Barton
a12f5bbc7d correct debug/test assignment being left in the UI_view2d_smooth_view() so it always recalculated. 2012-09-26 20:14:30 +00:00
Campbell Barton
aa49ca25d5 incorrect spelling in comments 2012-09-26 20:05:38 +00:00
Campbell Barton
483a6cd6c2 fix for cycles/python script error in normal panel 2012-09-26 19:23:06 +00:00
Sergey Sharybin
433816ea9b Fixed typo in previous commit! 2012-09-26 13:22:30 +00:00
Sergey Sharybin
fae7dd22c7 Color Management: resolve warnings when OCIO configuration file misses None display 2012-09-26 13:17:47 +00:00
Sergey Sharybin
36966ccfeb Remove unneeded null-check: display settings should always be valid after IMB_colormanagement_check_file_config 2012-09-26 12:30:46 +00:00
Campbell Barton
3d8bace558 fix for eternal loop in recursive_operation() 2012-09-26 12:22:50 +00:00
Sergey Sharybin
9e96295ddb Fix #32666: Memory Cache Limit stops working after set to 2048
Solved two issues here:

- RNA update function for cache limiter wasn't type-casting to size_t
  type, which lead to long int overflow.

- Display buffer size in color management wasn't calculated properly,
  ended up with much more extra memory usage than it's needed.
2012-09-26 11:16:27 +00:00
Campbell Barton
e2baa41ec7 fix [#32665] Inconsistent Circle Mesh Edge Subdivision 2012-09-26 11:14:40 +00:00