Commit Graph

32013 Commits

Author SHA1 Message Date
Ove Murberg Henriksen
c63dcaee07 small fix to mem release when using index method 2012-06-03 18:44:17 +00:00
Ove Murberg Henriksen
512b35754e Bugfix to bug from optimizing... 2012-06-03 17:16:50 +00:00
Ove Murberg Henriksen
7b29489016 BVHTree usage optimized for transferring between meshes of 300k faces.
Mesh were the shape of a human.
Optimizing for anything less would not make sense because it happens ~instant
 
moving to 10 tree from binary tree increased speed by ~30%
initiating additional searches with the first increased speed by ~99%

Now function completes in less than two seconds on my amd 2,6ghz
2012-06-03 16:44:48 +00:00
Ove Murberg Henriksen
0d42015671 Fixes to bugs that appeared during restructure. 2012-05-31 19:09:23 +00:00
Ove Murberg Henriksen
be4d30bf8e Bogus MEM_freeN removed and cleaned descriptions. 2012-05-27 18:05:10 +00:00
Ove Murberg Henriksen
1dce081e2b small cleaning 2012-05-27 17:47:21 +00:00
Ove Murberg Henriksen
ea9655ce14 Fixed iterators.
Memory bugs persist...
2012-05-27 17:34:10 +00:00
Ove Murberg Henriksen
bfd894b267 added mesh_get_derived_deform(scene, ob_act, CD_MASK_BAREMESH | CD_MASK_ORIGINDEX)
but now it crashes on:
a: <unavailable synchronous data> @0x9bc692c8
math_vector_inline.c 296
2012-05-27 15:57:43 +00:00
Ove Murberg Henriksen
89cc1b2e50 GUI added, but crashes becasuse: ob_act / ob_src ->DerivedDeform == 0x0 2012-05-27 14:17:01 +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
Campbell Barton
b4a229c43a style edits 2012-05-26 14:31:34 +00:00
Ove Murberg Henriksen
2c8a7ac756 svn merge ^/trunk/blender -r46930:HEAD 2012-05-25 17:52:51 +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
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
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
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
57c292daf0 style cleanup 2012-05-25 09:51:53 +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
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
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
da710b3e14 style cleanup: brace placement/newlines 2012-05-24 16:35:45 +00:00
Gaia Clary
da67c969b3 Patch #31570: Implementation of 'Include bone children' Option 2012-05-24 14:56:09 +00:00
Brecht Van Lommel
09344fb102 Fix new compositor color to value/bw conversion working different than it did
before. It doesn't make much sense to always multiply with alpha, especially
if it's a premul image that already has it multiplied in.

Patch by Irie Shinsuke.
2012-05-24 14:19:20 +00:00
Joshua Leung
240babf074 Graph Editor - View All/Selected now includes handles for calculating extents of
F-Curves

It is possible to get the old behaviour (handles excluded) by bringing up the
Operator Properties (F6) while in the Graph Editor (this doesn't work elsewhere
due to the context requirements of this stuff).
2012-05-24 13:52:25 +00:00
Campbell Barton
39ff86eb32 style cleanup 2012-05-24 10:16:42 +00:00
Campbell Barton
b5c3ffe9c7 fix for building without audaspace 2012-05-24 10:15:38 +00:00
Jeroen Bakker
5f677f995d * removed clamp from color correction 2012-05-24 06:16:05 +00:00
Joshua Leung
c52a85fa7b Code Cleanup - DNA_space_types.h - Part 2 - Rearranging Stuff
* Moved all enums to immediately follow the struct(s) that they are used for/by.
Less jumping around the file to find these

* Reshuffled the order of a few structs/editor groupings. For example, now all
animation editors are grouped together, and most general/property editors are
grouped together.
2012-05-24 04:46:01 +00:00
Joshua Leung
8bce17877b Code Cleanup - DNA_space_types.h - Replaced all #define-lists with enums
* All lists of #defines now replaced with enums
* All flags are now defined using the "(1 << x)" style, which is easier to
read/maintain than the other variations
2012-05-24 04:21:57 +00:00
Joshua Leung
8e97203f7d Restoring Group Colours for Animation Channels - Part 1
This commit restores the group colours support for F-Curves and F-Curve Groups
in the DopeSheet and Graph Editors. Currently the relevant settings for groups
are only exposed via RNA, but a followup commit will add support for
automatically setting these colours. By default, DopeSheet and Graph Editors are
set to display these colours if/when they are available.

This functionality used to be in 2.48, and is a useful mechanism for visually
distinguishing between channels for different controls when animating (if group
colours are used on the rigs too).
2012-05-24 01:25:31 +00:00
Campbell Barton
57b488574a style cleanup: comma placement 2012-05-23 22:45:39 +00:00
Campbell Barton
5b8cbbe3fd code cleanup: fix possible use of uninitialized value and remove dead initializations. 2012-05-23 21:39:39 +00:00
Dalai Felinto
5d82173a78 Image.gl_touch - routine to prevent the image to be cleared by blender cache garbage collection system
* if the image is not loaded (bindcode == 0) load the image

This needs to be called often. If the image is 'cleaned' by Blender, it will not help to load it after.
[ gl_load returns the errors: GL_STACK_OVERFLOW(1283) or GL_STACK_UNDERFLOW (1284) ]

Thanks Campbell for the suggestion on how to handle this (BKE_image_tag_time)
2012-05-23 20:19:40 +00:00
Joerg Mueller
3136e8dce8 Feature request implemented: [#31572] Mixdown selects blend filename, should initialize name from filetype as images do. 2012-05-23 19:55:00 +00:00
Campbell Barton
7505102668 style cleanup: also correct comment 2012-05-23 17:26:49 +00:00
Campbell Barton
59aaaaaa16 increase memory limit for sequencer cache to 32gig 2012-05-23 17:16:53 +00:00
Sergey Sharybin
6bb45ac67b Camera tracking: imbuf (un)distoriton used to set RECT_INVALID flag for source image instead of destination
This lead to wrong proxies generated for openexr float image sequences
2012-05-23 16:53:33 +00:00
Thomas Dinges
66aac12e24 Node Editor UI:
* Added back the single triangle icon for node color special menu, showed empty after recent changes in r46939.
2012-05-23 16:34:41 +00:00
Sergey Sharybin
1cee8d1f1d Movie clip: remove workaround for #27997
it's not actually helps, but only confuses system when using openexr movie clips.
2012-05-23 16:19:04 +00:00