Commit Graph

49420 Commits

Author SHA1 Message Date
Mitchell Stokes
ebb2dc84fc Some slight refactoring of the BGE's LibLoad code to make things a bit cleaner (no functional changes). 2012-06-07 01:46:28 +00:00
Mitchell Stokes
8beea054f7 Fixing some potential heap corruption issues in the Blenderplayer when it is built with CMake. This fix forces Blender and the Blenderplayer to use the same SDNA, since inconsistencies between Blender's and the Blenderplayer's SDNA is what lead to the corruption issues. 2012-06-07 01:44:22 +00:00
Brecht Van Lommel
78cf502c80 Cycles: border render now works in the viewport, when looking through the
camera, same as in render. It draws objects in solid draw mode outside of
the border.
2012-06-06 23:27:43 +00:00
Ove Murberg Henriksen
5414ea4701 Fixed naming from "single vertex group" to "active vertex group" 2012-06-06 23:21:45 +00:00
Campbell Barton
d5032657ed style cleanup 2012-06-06 22:38:39 +00:00
Campbell Barton
052e34cc3d fix for bug where auto-handles were not calculated correctly for animated curves. 2012-06-06 20:26:26 +00:00
Campbell Barton
3e8ad394af code cleanup: remove unused mask args 2012-06-06 20:05:58 +00:00
Campbell Barton
fdf0d01d08 disable group/object selection in the outliner, it slows down drawing far too much. 2012-06-06 19:36:26 +00:00
Campbell Barton
67326ad4d9 group outliner option to instance selected groups in the scene. 2012-06-06 19:20:39 +00:00
Sergey Sharybin
286c5915b3 Merging r47507 through r47534 from trunk into soc-2011-tomato 2012-06-06 19:11:06 +00:00
Sergey Sharybin
f43a733f59 Changed semantic of recently added start_frame
Now it's indicates at which scene frame number movie clip starts playing back.
This this setting is still belongs to clip datavlock and used by all users of
clip such as movie compositor nodes, constraints and so.

After long discussion and thoughts about this it was decided that this would
match image's current behavior (which initially seen a bit crappy), but that's
actually allows:

- Keep semantics of start frame in image and clip datablocks in sync
- Allows to support features like support of loading image sequences
  with crappy numbers in suffix which doesn't fit long int.
- Allows to eliminate extra boolean checkbox to control such kind of offset.

Hopefully from pipeline POV it wouldn't hurt because idea of having this things
implemented in original way was  working only if sequence before processing
started naming form 001.
2012-06-06 18:58:30 +00:00
Campbell Barton
3e3e5b2ea3 replace glGetFloatv(GL_CURRENT_COLOR, col_f); with the current wire color arg. 2012-06-06 18:38:01 +00:00
Campbell Barton
b53b03ac1c pass the object wire color along to drawing functions, too many places would use glGetFloatv(GL_CURRENT_COLOR, curcol), which also become confusing to debug if in some cases the color was set beforehand. 2012-06-06 18:00:08 +00:00
Campbell Barton
1931aac1f7 style cleanup: (indentation) 2012-06-06 14:48:39 +00:00
Campbell Barton
2cb671591b mask mode
- only keyframe selected mask layers
- fix for crash in deleting animated mask layers (other than the first)
2012-06-06 14:38:47 +00:00
Daniel Genrich
0499200e39 Cloth: Add support for "Self Collision Vertex Group".
Self collision vertex groups enable artists to exclude selected vertices from getting involved in self collisions. This speeds simulations and it also resolves some self collision issues.
2012-06-06 13:30:05 +00:00
Campbell Barton
d6ebba4c9e recalc animated mask deformations on load. 2012-06-06 12:48:02 +00:00
Campbell Barton
c6d0ebcdf9 - background images now draw in opengl render
- fix bug where forground images could be invisible when clipping was enabled.
2012-06-06 11:40:01 +00:00
Antony Riakiotakis
91beb27500 Fix scons + smoke not working. it seems like the definition + include file are needed on the higher level dir too. 2012-06-06 10:41:49 +00:00
Campbell Barton
870ba8aa13 svn merge ^/trunk/blender -r47423:47506 2012-06-06 10:25:59 +00:00
Bastien Montagne
8b7538ce94 Adding back Dutch language, as it seems we found a translator for it. :) 2012-06-06 08:33:57 +00:00
Sergey Sharybin
5caeeec1fe Corrected documentation for intersect_point_quad_2d to match exactly how
it works in C side: only convex quads without singularities gives predictable
results.
2012-06-06 08:08:54 +00:00
Campbell Barton
2be904b626 support negative indexing with SequenceElements.pop() - like python does, -1 is default. 2012-06-06 06:01:51 +00:00
Campbell Barton
eedaaee072 fix for building without smoke. 2012-06-06 05:37:38 +00:00
Daniel Salazar
3c85e213db Enabling smooth modifier for curves 2012-06-06 00:03:39 +00:00
Daniel Genrich
c17d9532aa Smoke: Fix rna names as suggested by Thomas Dinges. 2012-06-05 22:50:02 +00:00
Daniel Genrich
c97c6c0135 Smoke: Make Smoke density available to python via rna. 2012-06-05 22:43:29 +00:00
Campbell Barton
cb0b3558af style cleanup 2012-06-05 22:12:17 +00:00
Campbell Barton
6cff0b71a7 style cleanup 2012-06-05 21:54:21 +00:00
Ove Murberg Henriksen
2548494bc1 Removed confusing error reporting code.
The confusing part was inconsitent reporting. 
It reported un eaven indices when only one source and a fail,
but not when several sources and some success and some fail.
2012-06-05 21:10:15 +00:00
Ove Murberg Henriksen
59d699805c Bugfix, no longer crashing wehn no source vertex group. 2012-06-05 20:48:01 +00:00
Campbell Barton
465b11e971 operator to reset feather weights on all shape keys 2012-06-05 19:39:12 +00:00
Campbell Barton
4ce2219901 edge split modifier now works more like pre-bmesh --- 3+ faces using an edge always split. 2012-06-05 19:24:01 +00:00
Sergey Sharybin
0d61876ed0 Configurable start frame for movie clip datablocks as alternative to automatic start frame number
Number of start frame in opened image sequence used to be distinguished automatically
in a way that file name used on open would be displayed at scene frame #1.

But sometimes it's useful to have it manually configurable (like in cases when you're
processing image sequence and replacing clip's filepath to postprocessed image sequence
and want new clip to show at the same frame range as it was rendered from).

Added Custom Start Frame flag to movie clip (could be accessed from Footage panel in
clip editor) and Start Frame which means number of frame from sequence which would
be displayed at scene frame #1.

For example if you've got clip pointing to file render_00100.png and Start Frame of 100
this file would be displayed at scene frame #1, if Start Frame is 1 then this image
would be displayed at scene frame #100,
2012-06-05 18:38:09 +00:00
Campbell Barton
957ea14511 shrink/fatten now works with proportional editmode on curves. 2012-06-05 14:19:13 +00:00
Campbell Barton
8c71157af6 shrink/fatten transform for mask - adjusts the feather weight.
works in proportional editmode too.
2012-06-05 14:13:14 +00:00
Campbell Barton
fe58f668a1 mask point slide now accounts for scaled bezier weights, 2012-06-05 12:51:11 +00:00
Campbell Barton
f72c8565bf change how the weight for feather points are calculated with masking, instead of using absolute weights, multiply by by the weights of the adjacent beziers.
without this - there was no way to animate the overall feather influence of the feather.

will update tools to account for this next.
2012-06-05 12:22:02 +00:00
Campbell Barton
49cc9c7502 code cleanup: mask feather weight - add in checks for u==1 or u==0 2012-06-05 12:09:24 +00:00
Campbell Barton
aca2e6a739 code cleanup: helper functions for masking. 2012-06-05 11:46:55 +00:00
Campbell Barton
dd198685c4 code cleanup: var names in mask code 2012-06-05 11:28:54 +00:00
Sergey Sharybin
33246ea437 Fix #31713: Mask editor: RMB drag crashes Blender
Simple missed NULL check in TransData creation.
2012-06-05 11:28:15 +00:00
Sergey Sharybin
f885306bb8 Fix #31702: Drag and Drop parenting crashes Blender
Crash was caused by recent changes in parent drop operator which were
aimed to prevent parenting objects between different scenes (which probably
makes sense).

The problem was how it was checked if objects belongs to the same scene --
outliner tree with type ID_SCE was used for this which works pretty nice
for All Scenes outliner view. But in other view modes there is no scene
element in outliner tree which lead to some NULL pointer dereferences.

Currently resolved this by assuming that if there's no Scene parent element
in outliner tree parent and child belongs to the same scene which is active
scene. This is truth for current view modes of outliner but if it'll be
changed in the future this assumption shall be updated and re-implemented
with some smarter checks of which scene object from outliner belongs to.
2012-06-05 09:57:19 +00:00
Campbell Barton
ae8103240d mask editing
- clear feather weights (alt+s)
- fix for glitch where placing the feather would jitter.
2012-06-05 09:37:44 +00:00
Sergey Sharybin
0adf252c9b Fix #31593: Every time I switch between edit and object mode, it crashes
Crash was caused by incorrect restoring OpenGL context due to some
weird bit operations used to indicate whether stuff like color arrays
is initialized resulting in some unpredictable results on different
platforms and drivers.
2012-06-05 08:41:53 +00:00
Lukas Toenne
67ba133b19 Fix #31706, Crash loading old file in trunk build. 2012-06-05 08:06:15 +00:00
Campbell Barton
0c59218a1d mask switch direction now swaps handle direction too 2012-06-05 07:01:43 +00:00
Campbell Barton
a0f5e200cc fix for possible uninitialized pointer use in mask rasterize and remove some dead code. 2012-06-05 06:54:18 +00:00
Nicholas Bishop
d24a27ca36 Fix remesh output changing when input is moved relative to origin.
Fixes bug [#31626] Remesh modifier generates different results
depending on object origin position

Was incorrectly initializing bounding box min/max to zero, now uses
INIT_MINMAX.
2012-06-04 23:53:59 +00:00
Nicholas Bishop
4260804c00 Fix NULL free warning in multires. 2012-06-04 23:14:57 +00:00