Commit Graph

49420 Commits

Author SHA1 Message Date
Nicholas Bishop
ebdeed07e5 Delete skin customdata if all skin modifiers are removed.
Fix for bug [#31604] "Skin Modifier - Mark Root Bug?"

Essentially the same as multires customdata deletion.
2012-05-26 21:11:23 +00:00
Sergey Sharybin
ce9ee99c07 Fix #31538: Wrong colors after reloading file with exr image
Issue was caused by generated images had got no profile set (IB_PROFILE_NONE)
which confused OpenEXR saver (which makes sRGB conversion for profiles which
are not linear).

Actually this is much deeper issue which would require the whole color pipeline
workflow (which would happen at some point when currently urgent stuff is resolved),
but having correct profile set for generated images would still be helpful.
2012-05-26 17:04:51 +00:00
Campbell Barton
de6af75d4d code cleanup: use array size and const for vector args 2012-05-26 16:04:31 +00:00
Campbell Barton
6c41b326fe style cleanup 2012-05-26 15:48:55 +00:00
Ove Murberg Henriksen
25c7e8e128 bug fixes, review issue 6256058. 2012-05-26 15:27:21 +00:00
Bastien Montagne
ae919658d4 Add frame_duration read-only member to Image RNA struct, returns movie's length in frames (or 1 for still images). 2012-05-26 14:53:33 +00:00
Campbell Barton
b4a229c43a style edits 2012-05-26 14:31:34 +00:00
Campbell Barton
8c89d52614 svn merge ^/trunk/blender -r47003:47047 2012-05-26 14:19:41 +00:00
Campbell Barton
ed98de3398 code cleanup: dutch -> english (comments) 2012-05-26 13:31:57 +00:00
Campbell Barton
ba5e13912d fix for own error in applying patch 2012-05-26 13:08:42 +00:00
Campbell Barton
63788b47d6 add vector versions of hsv_to_rgb, rgb_to_hsv & rgb_to_hsv_compat 2012-05-26 11:01:01 +00:00
Campbell Barton
e727056c2e patch [#31265] Warning Fixes 02/05/2012
from Jason Wilkins (jwilkins) 

only applied some parts:
* const correctness
* moved a variable into a move local scope so it is also inside a #if/endif and does not end up conditionally unused
2012-05-26 10:05:22 +00:00
Sergey Sharybin
3cb166e0f2 Fix reading freed memory when opening file by click on it on splash screen
Issue was introduced by yesterday's commit 47021 and caused by some handler's
which is getting called from ui_handler_popup frees event.

Worked around a bit by storing return value for ui_handler_popup before running
other handlers, but this only means global refactor of even handling order is
getting closer and closer.
2012-05-26 09:49:54 +00:00
Campbell Barton
c895c0ee23 patch [#31579] Solidify modifier: Add new option "Flip Normals"
- previous commit was so similar to the patch Shinsuke wrote, better to add him as contributor, this commit will add to generated credits.
- this commit has no functional changes.
2012-05-26 09:39:04 +00:00
Campbell Barton
e343a69e76 solidify option to flip normals 2012-05-26 09:18:47 +00:00
Bastien Montagne
026e2b3d03 Fix dummy cp/pt error (harmless in blender itself, but breaking doc and i18n tools...). 2012-05-26 08:31:34 +00:00
Campbell Barton
49b6867e0c previous commit didnt build - add back enum and note that its a copy because of linking error 2012-05-26 00:41:11 +00:00
Campbell Barton
6dcef66468 code cleanup: remove duplicate enum 2012-05-26 00:06:30 +00:00
Bastien Montagne
178d541aad Fix most (all?) image space i18n UI bugs... 2012-05-25 17:58:15 +00:00
Ove Murberg Henriksen
2c8a7ac756 svn merge ^/trunk/blender -r46930:HEAD 2012-05-25 17:52:51 +00:00
Campbell Barton
10c6a8ce1a fix for adding/removing spline items with multiple splines in a mask-object 2012-05-25 17:44:37 +00:00
Brecht Van Lommel
3fe10d475f Fix a bad bug with direct/indirect linking since 2.5. Indirectly linked libraries
could get loaded twice in some cases, causing issues with e.g. node groups.
2012-05-25 17:13:30 +00:00
Campbell Barton
6fa349f85e support for deleting splines and points while maintaining animation 2012-05-25 15:20:29 +00:00
Sergey Sharybin
d236f8d450 Fix #31514: Open blends via drag-n'-drop doesn't work when splash screen is on
Do not block EVT_DROP event from popup handler.
Not ideal solution sine it'll be much nicer to cleanup event handling order,
but should be acceptable for now.
2012-05-25 14:57:17 +00:00
Gaia Clary
352cd241a3 fix [#31597] Operator Preset: Python Warning whenever a preset is executed (seen on Windows) 2012-05-25 14:08:50 +00:00
Brecht Van Lommel
6b554c5ec4 Fix for last commit, forgot to update Screen.is_animation_playing python property. 2012-05-25 12:56:29 +00:00
Campbell Barton
b230ebf726 mask slide now auto-keys 2012-05-25 12:48:24 +00:00
Brecht Van Lommel
ad65b7b86b Animation playback: now all windows are update during playback, rather than
just the active window.
2012-05-25 12:37:11 +00:00
Brecht Van Lommel
942fcf4415 Unix: enable use of XDG paths for storing Blender configuration on Linux/BSD/..,
starting from version 2.64. Unless you have a special system setup, this means the
will be in ~/.config/blender rather than ~/.blender.

When the version number is changed to 2.64, the "Copy Previous Settings" operator
in the splash will copy the settings to the new location.

XDG base directory specification:
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
2012-05-25 12:08:29 +00:00
Campbell Barton
bb97cf31de print frame bumbers when printing shapes that mismatch 2012-05-25 12:06:10 +00:00
Campbell Barton
94fc1f5f4a fix error in prev commit 2012-05-25 11:51:56 +00:00
Campbell Barton
e70316f3b2 fix for crash in auto ketframe. 2012-05-25 11:41:42 +00:00
Sergey Sharybin
6e01ba8cbc Fix #31587: loading image sequence by selecting all images does not work in MCE
Now loading image sequence behaves in the same way as sequencer when all images
are selected. In fact, in this case first image from selection would be used
as first frame of image sequence, so this behavior does not reflect possible
gaps in selection.

Old behavior with selecting first file only is still relevant.
2012-05-25 11:40:45 +00:00
Campbell Barton
c6e0d24d02 add auto-key for masks 2012-05-25 10:04:10 +00:00
Campbell Barton
57c292daf0 style cleanup 2012-05-25 09:51:53 +00:00
Campbell Barton
5ed2e0d5bc svn merge ^/trunk/blender -r46979:47003 2012-05-25 09:42:58 +00:00
Miika Hamalainen
c4bbc5abfc Fixed smoke 3D-view issues: Preview became invisible from certain angles if domain size was < 1.0 and density+shading strength changed depended on domain size. 2012-05-25 09:40:56 +00:00
Brecht Van Lommel
19dd66cf3b 3D View: add Backface Culling option, to hide faces when seen from the back side,
found in the Display panel.

Patch by Simon Kirk and Irie Shinsuke, refactored to also work for non-mesh objects
and avoid globals.
2012-05-25 09:26:47 +00:00
Campbell Barton
139c92e7eb new points now have their animated locations applied all non-active keys. 2012-05-25 09:06:15 +00:00
Campbell Barton
29e89dc996 code cleanup: solidify modifier - remove dead assignment and unneeded NULL check. 2012-05-25 06:54:01 +00:00
Daniel Genrich
f883d12e0c Smoke: Start fixing scaling issues which happen with non cube-shaped domains.
Detail: Smoke solver and Blender side of smoke now share the same cell length.

First reported by the Sintel artists long ago, again reported by MiikaH.

Part of my Smoke Development Project Phase III.
2012-05-24 23:50:20 +00:00
Campbell Barton
fda16e7381 remove some float/double conversions 2012-05-24 21:58:12 +00:00
Nathan Vegdahl
19e1d05461 Modifications to the view3d.select() operator:
1. Two new boolean options have been added to the operator: "deselect"
   and "toggle".
2. The previous behavior of "extend" (toggling the selection) has
   been moved to the "toggle" option.
3. "extend" now only extends the selection, it never deselects.
4. "deselect" is pretty self-explanatory: it deselects (i.e. opposite
   of extend).
5. The built-in keymap has been changed to use "toggle" where
   "extend" was used before for this operator, to maintain the
   previous behavior in the default keymap.

In short, this works towards making "extend" and "deselect" fully
consistent across all selection tools (adding to and removing from
selection, respectively), but still preserves the old behavior
as well.

(Patch reviewed by Brecht.)
2012-05-24 21:05:27 +00:00
Nicholas Bishop
9dc161e8ed Fix bug [#31512] Focus Zoom on text object with modifers fails
Change BKE_object_minmax() to use the same logic as meshes: use the
object bounding box if available, since it will include the modifier
DM output.
2012-05-24 20:20:12 +00:00
Ove Murberg Henriksen
c2c2611faa Restructuring code.
All functions merged into ED_vgroup_transfer_weight() to avoid duplicate code.
2012-05-24 20:03:09 +00:00
Nicholas Bishop
75a8de49fc Fix bug #31582, Crash with Skin modifier
Buffer overflow error in collecting split_face vertices.
2012-05-24 19:41:09 +00:00
Campbell Barton
afe2def93c adding new keyframes now updates existing shapekeys 2012-05-24 19:16:08 +00:00
Daniel Genrich
8042c52fb6 Smoke: Fix wrong maximum timestep, resulting in exploding/unstable fluids.
Part of my Smoke Development project.
In conjunction with MiikaH and his gSoC project.
2012-05-24 18:22:36 +00:00
Campbell Barton
25b677787f svn merge ^/trunk/blender -r46966:46979 2012-05-24 16:37:40 +00:00
Campbell Barton
da710b3e14 style cleanup: brace placement/newlines 2012-05-24 16:35:45 +00:00