Commit Graph

10704 Commits

Author SHA1 Message Date
Joshua Leung
d2833d9f0f Added convenience operator to clear animation (i.e. all keyframes = F-Curves)
from selected objects and bones
2012-10-04 10:58:03 +00:00
Campbell Barton
c8bd3b7cf8 fix for using hsv uninitialized in ui_draw_but_HSVCIRCLE() 2012-10-04 09:55:10 +00:00
Campbell Barton
c872ffd94f code cleanup: make the behavior of set_current_material_texture() clearer and remove redundant NULL check there. also small changes to ui_draw_but_HSVCIRCLE(). 2012-10-04 09:43:27 +00:00
Campbell Barton
753b627cb6 avoid a sqrtf call in ui_hsvcircle_vals_from_pos() for values outside the circle. 2012-10-04 09:33:14 +00:00
Campbell Barton
636a8d49a6 fix for crash in own recent masking commit with 'flood fill' operator. 2012-10-02 05:12:49 +00:00
Campbell Barton
16c4795e96 fix for mesh_foreachScreenEdge__mapFunc running the callback with V3D_CLIP_TEST_RV3D_CLIPPING'd verts. (used uninitialised stack memory) 2012-10-02 04:31:51 +00:00
Campbell Barton
dc8340fa33 correct some include dirs not being included as SYSTEM paths in cmake. 2012-10-02 03:18:48 +00:00
Campbell Barton
959dc02f96 fix for error in mask drawing, was using glVertex3fv on 2d verts. (buffer overrun) 2012-10-02 01:10:18 +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
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
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
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
da656957c3 fix [#31654] Non-proportional edge slide behaving incorrectly. 2012-10-01 10:43:52 +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
ded317840b fix for leak when freeing mask data in editmode. 2012-10-01 04:00:41 +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
ed1cda9a6c style cleanup 2012-09-30 06:12:47 +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
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
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
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
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
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
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
a88bc390d0 Correction to svn rev50845
Disable color picker button only if color block is invoked from another popup.

Only in this case color picking will fail. Valid RNA path isn't required for
this, only RNA pointer in button is needed.

This solves issue with missing color picking in user preferences.
2012-09-26 10:39:32 +00:00
Joshua Leung
3a88eec176 Bugfix:
Timeline didn't update after deleting keyframes using Alt-I in the 3D View (i.e.
after ANIM_OT_keyframe_delete_v3d)
2012-09-26 09:27:47 +00:00
Campbell Barton
0060b9a8ef fix [#32661] Grease Pencil in Camera View
Regression since 2.63a release.

own fault in r49996, though code was confusing - using rcti struct for offset+width.
2012-09-26 07:37:12 +00:00
Sergey Sharybin
80fed19ffc Fixed crash when selecting curve with a mouse
Was a missed check for DRAW_CONSTCOLOR flag.
2012-09-25 13:31:46 +00:00
Joshua Leung
7f6b4a28e8 Bugfix [#32647] PolyLine tool for Grease Pencil was broken
This was broken in r.46589, although it doesn't seem that these changes have any
relevance to the main fix being performed there.

The problem was that the offending changes made the Grease Pencil modal handler
exit when an RMB event occurs meant that the operator was exiting after the
initial click, meaning that it was only possible to draw single dots at a time
when using the hotkey version of PolyLine. The toolbox version however was
unaffected.

I've noted this specific problem in the code as a warning.
2012-09-25 12:10:27 +00:00
Sergey Sharybin
d63f1cb5e4 Expose image's and clip's input color space settings to properties panel in compositor,
so now input color space could be changed directly from the compositor.

The only unfinished thing is missed compositor update when color space is
changing. Not sure about correct fix for this yet.
2012-09-25 10:14:07 +00:00
Sergey Sharybin
3cf59bce78 No need to show display settings in file output node 2012-09-25 08:02:05 +00:00
Campbell Barton
7fdfd26f21 fix for error disabling group visibility (which was flushed down to obects),
- objects were being selected rather then de-selected.
    - object restrict selection wasnt de-selecting either (as it does when changing the object in the outliner directly).
2012-09-25 04:15:09 +00:00
Sergey Sharybin
e0fe0fa7dd Themes fixes:
- Added initialization of frame node color to default theme loading
  Used default color from 2.63a theme, should be pretty fine as default.

- Added some missing versioning checks which lead to differences between
  startup.blend and default theme restored.
2012-09-24 17:57:09 +00:00