blender-staging.git
8 years agosvn merge ^/trunk/blender -r44076:44118
Campbell Barton [Wed, 15 Feb 2012 12:08:06 +0000 (12:08 +0000)]
svn merge ^/trunk/blender -r44076:44118

8 years agoCMake: determine if python should be bundled into "lib" or "lib64" folder.
Sergey Sharybin [Wed, 15 Feb 2012 08:53:28 +0000 (08:53 +0000)]
CMake: determine if python should be bundled into "lib" or "lib64" folder.

Needed to deal with OS like openSUSE where Python is installed to /usr/lib64
and don't work if it's getting bundled into <blender_version>/python/lib.

Thanks to Campbell to making this patch cleaner :)

8 years agofont objects in blenderplayer fail when object with alpha is rendered
Dalai Felinto [Tue, 14 Feb 2012 18:23:58 +0000 (18:23 +0000)]
font objects in blenderplayer fail when object with alpha is rendered
the embed bge has its own DisableForText() routine which prepares the GL flags for the text render.

For some reason blenderplayer is taking a slim approach and going straight for the rendering. This routine helps to address this bug/case (non reported, foundin my own project files). If need arises we should move this to its own routine incorporating the other GL tests the embed bge performs.

8 years agoSubsurfed uv unwrap tool ported to bmesh.
Antony Riakiotakis [Tue, 14 Feb 2012 17:48:05 +0000 (17:48 +0000)]
Subsurfed uv unwrap tool ported to bmesh.

8 years agoBuildbot: WITH_BF_CYCLES_CUDA_BINARIES should be set for packing stage too.
Sergey Sharybin [Tue, 14 Feb 2012 17:03:27 +0000 (17:03 +0000)]
Buildbot: WITH_BF_CYCLES_CUDA_BINARIES should be set for packing stage too.

8 years agoCamera tracking: corrected default values for some reconstruction-related properties.
Sergey Sharybin [Tue, 14 Feb 2012 17:03:06 +0000 (17:03 +0000)]
Camera tracking: corrected default values for some reconstruction-related properties.

8 years agoBuildbot: another attempt to make Windows builds support CUDA
Sergey Sharybin [Tue, 14 Feb 2012 15:59:10 +0000 (15:59 +0000)]
Buildbot: another attempt to make Windows builds support CUDA

Set BF_CYCLES_CUDA_NVCC to nvcc.exe, hopefully it's on search path at builder machine.

8 years agoSCons: command line options should be coma-separated when adding to options list
Sergey Sharybin [Tue, 14 Feb 2012 15:44:17 +0000 (15:44 +0000)]
SCons: command line options should be coma-separated when adding to options list

8 years agoBuildbot: enable building CUDA binaries on Windows slaves.
Sergey Sharybin [Tue, 14 Feb 2012 15:26:20 +0000 (15:26 +0000)]
Buildbot: enable building CUDA binaries on Windows slaves.
Should make CUDA available for rendering in buildbot builds.

8 years agoFix related to #30152, rainbow colours produced when loading hdr image to 3D viewport...
Antony Riakiotakis [Tue, 14 Feb 2012 13:25:23 +0000 (13:25 +0000)]
Fix related to #30152, rainbow colours produced when loading hdr image to 3D viewport/ the Nyan cat bug.

Issue is caused by scaling for power of 2 dimensions and mipmapping that happens through GLU. It looks like the library cannot handle float colour values above 1.0 correctly. Since we are close to release I will just clamp the srgb result for now even though it will result in a small performance loss for 16 bit textures only.

I tried a few things before that, glGenerateMipmaps + no scaling (supported for 2.0 GL hardware and up), or using our own scaling instead of glu among them which worked very nicely and gave a speedup too. However, since we are close to release and there may be issues with GPU mipmap generation, see:

http://www.gamedev.net/topic/495747-another-glgeneratemipmap-question/
(old discussion but better be sure than sorry)

I went for the most compatible solution. Maybe after release this can be tested if other devs agree.

8 years agoCarve fixes and optimizations:
Sergey Sharybin [Tue, 14 Feb 2012 13:24:04 +0000 (13:24 +0000)]
Carve fixes and optimizations:

- Fixed memory lead in Carve_getIntersectedOperandMeshes
- Union manifolds only if they intersects second operand, leave manifolds
  which doesn't intersect second operand as-is.

8 years agoffmpeg: don't use flags:loop for .h264, this allows to see the video in OSX quickview...
Jens Verwiebe [Tue, 14 Feb 2012 12:24:17 +0000 (12:24 +0000)]
ffmpeg: don't use flags:loop for .h264, this allows to see the video in OSX quickview and Quicktimeplayer( windows ? )

8 years agoFix 30169: rotate edge needs more checking for bad cases
Howard Trickey [Tue, 14 Feb 2012 11:40:25 +0000 (11:40 +0000)]
Fix 30169: rotate edge needs more checking for bad cases

If you tried to rotate an edge that was part of a chain
between two faces, the join faces function would remove
the whole chain (else it would leave a 'spur') and then
rotate edge would crash looking for a vertex that is no
longer there.
Check for this case and disallow rotate if so.

8 years agoCarve: improved handling of meshes with interesting manifolds
Sergey Sharybin [Tue, 14 Feb 2012 09:43:35 +0000 (09:43 +0000)]
Carve: improved handling of meshes with interesting manifolds

Unioning of intersecting manifold tried to perform as little union operations
as possible, but there were some not totally correct assumption which lead to
cases when unioning of manifolds of some mesh might be happened when one of
mesh sets already had got intersecting manifolds.

This commit corrects this incorrect behavior.

Discovered this when was looking into #30175: Boolean Difference causes 2.62 RC1 crash.

8 years agoFixing up some buggy cleanup code in BL_ShapeDeformer. This code was causing crashes...
Mitchell Stokes [Tue, 14 Feb 2012 07:54:12 +0000 (07:54 +0000)]
Fixing up some buggy cleanup code in BL_ShapeDeformer. This code was causing crashes and corrupting shape keys. This commit fixes the following bugs:

[#30059] Shape Keys is gone in Blender if you use Add Object Actuator in BGE
[#30024] Segmentation fault after addObject when using shape keys
[#28683] segfault in shapekey conversion code when running a game (YF, level home) twice

8 years agoOSX: to make transition for mediaimports to ffmpeg reliable, ffmpeg_0.10 is mandatory
Jens Verwiebe [Tue, 14 Feb 2012 07:47:29 +0000 (07:47 +0000)]
OSX: to make transition for mediaimports to ffmpeg reliable, ffmpeg_0.10 is mandatory

8 years agobring back stitchability indicator, this can work even now
Antony Riakiotakis [Tue, 14 Feb 2012 00:55:01 +0000 (00:55 +0000)]
bring back stitchability indicator, this can work even now

8 years agoInitial port of stitch operator for bmesh.
Antony Riakiotakis [Tue, 14 Feb 2012 00:35:29 +0000 (00:35 +0000)]
Initial port of stitch operator for bmesh.

*operator now works with few limitations:

-still no preview(will be back soon)
-rotation will not work if only one uv is stitched between islands(will need method to calculate uv normal for manifold)

Also fixed island calculation for UvElements, fixes a crash when uv sculpting with "Sculpt all islands" turned off

8 years agoFix for [#30171] "Audio Muted" Does Not Mute Audio
Joerg Mueller [Mon, 13 Feb 2012 21:27:11 +0000 (21:27 +0000)]
Fix for [#30171] "Audio Muted" Does Not Mute Audio

8 years agoFix #30170: with file saved in texture painting mode, when going to object mode
Brecht Van Lommel [Mon, 13 Feb 2012 21:12:14 +0000 (21:12 +0000)]
Fix #30170: with file saved in texture painting mode, when going to object mode
the image texture is missing. The flag to indicate that the mipmap levels were
already loaded into GPU memory was incorrectly set then.

8 years agoFix #30155: crash with popup menu open while new .blend file is loaded,
Brecht Van Lommel [Mon, 13 Feb 2012 21:05:04 +0000 (21:05 +0000)]
Fix #30155: crash with popup menu open while new .blend file is loaded,
CTX_wm_window is then set to NULL and checked in the event queue, but it
should be checked for removing handlers too.

8 years agouse tabs for indentation
Campbell Barton [Mon, 13 Feb 2012 20:54:36 +0000 (20:54 +0000)]
use tabs for indentation

8 years agoFix quicktime export being broken in various ways: callback was missing
Brecht Van Lommel [Mon, 13 Feb 2012 20:47:29 +0000 (20:47 +0000)]
Fix quicktime export being broken in various ways: callback was missing
parameter, codec RNA wrapping was wrong, and there was a python script error.

8 years agoOSX: let almost all animation imports handle by ffmpeg now, this is faster in many...
Jens Verwiebe [Mon, 13 Feb 2012 19:00:02 +0000 (19:00 +0000)]
OSX: let almost all animation imports handle by ffmpeg now, this is faster in many cases

8 years agoFix for [#27349] Sequencer: Meta Strips plays unavailable audio
Joerg Mueller [Mon, 13 Feb 2012 17:31:33 +0000 (17:31 +0000)]
Fix for [#27349] Sequencer: Meta Strips plays unavailable audio

Hopefully at least... Sequencer code is like <insert name of random ancient language that nobody knows anymore here>.

8 years agoFixed copy-paste of sound strips in sequencer.
Sergey Sharybin [Mon, 13 Feb 2012 17:29:10 +0000 (17:29 +0000)]
Fixed copy-paste of sound strips in sequencer.

Copy operator used to remove scene_sound from strips, but Paste operator didn't
restore which lead to total silence of newly added strips.

8 years agoCode cleanup: add and use knife list utility functions
Howard Trickey [Mon, 13 Feb 2012 14:45:17 +0000 (14:45 +0000)]
Code cleanup: add and use knife list utility functions

In preparation for code in progress that uses lists
allocated out of the knife arena.  This also makes
existing code more readable and understandable IMO.

Also removed an #if'd out function that will not
ever be needed.

8 years agonew bmesh tool - limited dissolve.
Campbell Barton [Mon, 13 Feb 2012 14:37:07 +0000 (14:37 +0000)]
new bmesh tool - limited dissolve.

This is a kind of simplification/cleanup tool which joins adjacent faces and edges based on the angle.

I've written this as an exercise (since I havnt written a bmesh operator before), and because quite a few users were asking for the dissolve operator to be extended, but I think this kind of functionality needs its own operator.

access from specials menu and mesh menu.

notes
* this exposed a bug in angle_v3v3v3(). will merge fix into trunk after release.
* added utility function BM_vert_edge_angle(), to get the angle between 2 connecting edges of a vert.

8 years agoFix #30159: Boolean modifier creating non-concave faces
Sergey Sharybin [Mon, 13 Feb 2012 13:23:23 +0000 (13:23 +0000)]
Fix #30159: Boolean modifier creating non-concave faces

Issue was caused by merging triangles into quads policy which used to think
triangulation of non-planar/non-concave quads happens by 1-3 diagonal which
isn't actually correct in some OpenGL implementations.

Added check for non-concave faces when merging triangles. It will work fine if
original faces are flat. In case if original faces aren't flat this check might
fail and triangulate face when it's not actually needed or merge triangles in
a way which leads to OpenGL artifacts.

8 years agofix for typo
Campbell Barton [Mon, 13 Feb 2012 12:57:46 +0000 (12:57 +0000)]
fix for typo

8 years agothemes to be distributed with release
Campbell Barton [Mon, 13 Feb 2012 11:29:34 +0000 (11:29 +0000)]
themes to be distributed with release

8 years agomore tweaks, outline is lighter then the color given so compensate a bit.
Campbell Barton [Mon, 13 Feb 2012 11:14:12 +0000 (11:14 +0000)]
more tweaks, outline is lighter then the color given so compensate a bit.

8 years agobring array cap ends back, with 2 todo's
Campbell Barton [Mon, 13 Feb 2012 08:06:44 +0000 (08:06 +0000)]
bring array cap ends back, with 2 todo's
* they are not drawn in editmode
* weld does't work foe the caps

8 years agoMinor API Edits.
Campbell Barton [Mon, 13 Feb 2012 06:59:25 +0000 (06:59 +0000)]
Minor API Edits.

added BM_mesh_elem_flag_enable_all (only had disable function), and add
argunt for vert/edge/face type.

use these functions from EDBM_flag_enable/disable_all (had duplicate
code).

8 years agoown error - mixup with BMO_slot_mat_get/set
Campbell Barton [Mon, 13 Feb 2012 05:59:14 +0000 (05:59 +0000)]
own error - mixup with BMO_slot_mat_get/set

8 years agostyle cleanup > 120 line length.
Campbell Barton [Mon, 13 Feb 2012 05:36:31 +0000 (05:36 +0000)]
style cleanup > 120 line length.

8 years agomarked navmesh as BMESH_TODO, mixed mface/mpoly functions were being used for navmesh...
Campbell Barton [Mon, 13 Feb 2012 04:52:41 +0000 (04:52 +0000)]
marked navmesh as BMESH_TODO, mixed mface/mpoly functions were being used for navmesh too, now editing funcs use polygons only.

8 years agoheat weight
Campbell Barton [Mon, 13 Feb 2012 04:21:22 +0000 (04:21 +0000)]
heat weight
* use polygons for selection (was using tessface)
* ensure tessfaces are created
* mirroring was commented as BMESH_TODO, but api calls now work so add back.

8 years agosvn merge ^/trunk/blender -r44024:44076
Campbell Barton [Mon, 13 Feb 2012 04:14:35 +0000 (04:14 +0000)]
svn merge ^/trunk/blender -r44024:44076

8 years agoremove unused var
Campbell Barton [Mon, 13 Feb 2012 04:12:40 +0000 (04:12 +0000)]
remove unused var

8 years agofix for bug introduced with weight paint vertex selection.
Campbell Barton [Mon, 13 Feb 2012 03:32:47 +0000 (03:32 +0000)]
fix for bug introduced with weight paint vertex selection.

heat weighting ignored selected faces.

8 years agomore bmesh minor api cleanup
Campbell Barton [Mon, 13 Feb 2012 02:42:50 +0000 (02:42 +0000)]
more bmesh minor api cleanup
* remove BMO_elem_flag_* functions, since there are already defines for this.
* ifdef unused bevel functions.
* rename defines BMOP_ --> BMO_OP_

8 years ago2.6 UI Modifier Icons:
Thomas Dinges [Sun, 12 Feb 2012 19:57:47 +0000 (19:57 +0000)]
2.6 UI Modifier Icons:

* New Ocean Icon, created by Leon Cheung. Thanks! Approved by Lukas and myself.
* New Warp Icon, created by "Zafio"

Blender artists Thread where the Icons come from: http://blenderartists.org/forum/showthread.php?243354-Call-for-Modifier-Icons!

8 years agopy api docs - remove sphinx .doctree before zipping, saves some space 18mb --> 3...
Campbell Barton [Sun, 12 Feb 2012 19:55:25 +0000 (19:55 +0000)]
py api docs - remove sphinx .doctree before zipping, saves some space 18mb --> 3.1 mb

8 years agoapi name conventions, more minor changes: flag set/clear --> enable/disable
Campbell Barton [Sun, 12 Feb 2012 19:18:30 +0000 (19:18 +0000)]
api name conventions, more minor changes: flag set/clear --> enable/disable

8 years ago* remove the MFace parts of join (we only need polygon data)
Campbell Barton [Sun, 12 Feb 2012 19:11:09 +0000 (19:11 +0000)]
* remove the MFace parts of join (we only need polygon data)
* other minor cleanups

8 years agoFix for outliner notifiers for inserting keyframes on visibility/selectivity/renderab...
Sergey Sharybin [Sun, 12 Feb 2012 18:57:05 +0000 (18:57 +0000)]
Fix for outliner notifiers for inserting keyframes on visibility/selectivity/renderability
flags and toggling renderability from shortcut.

8 years agoremove bm_get_cd_float, use CustomData_bmesh_get instead, this function only casts...
Campbell Barton [Sun, 12 Feb 2012 18:49:56 +0000 (18:49 +0000)]
remove bm_get_cd_float, use CustomData_bmesh_get instead, this function only casts to a float, and doesnt simplify args.

8 years agoBMesh api function naming.
Campbell Barton [Sun, 12 Feb 2012 18:43:59 +0000 (18:43 +0000)]
BMesh api function naming.
`_set` suffix was used in two ways (confusing)
* to set a flag to be enabled.
* to set a value passed as an argument.

now use enable/disable rather then set/clear for functions which change flags.

also remove BME_weld.c, the file didnt contain much code and the current extrude works well

8 years agoFix for bevel weights not being set in toolbar buttons (edit mode).
Bastien Montagne [Sun, 12 Feb 2012 18:17:30 +0000 (18:17 +0000)]
Fix for bevel weights not being set in toolbar buttons (edit mode).

Code simply mimics crease one...

8 years agobmesh minor refactor
Campbell Barton [Sun, 12 Feb 2012 17:44:10 +0000 (17:44 +0000)]
bmesh minor refactor
* add DM_to_bmesh_ex, DM_to_bmesh for converting a derived mesh to a BMesh (rather than a BMEditMesh)
* have a generic variable for allocsize: bm_mesh_allocsize_default, rather than copying the values about.

8 years agofix error with mesh conversion, a mesh with no faces would not have selection history...
Campbell Barton [Sun, 12 Feb 2012 17:16:47 +0000 (17:16 +0000)]
fix error with mesh conversion, a mesh with no faces would not have selection history kept when converting from mesh to bmesh.

8 years agoBug fix: Explode modifier created invalid faces if "unborn", "alive" or "dead" settin...
Janne Karhu [Sun, 12 Feb 2012 16:47:03 +0000 (16:47 +0000)]
Bug fix: Explode modifier created invalid faces if "unborn", "alive" or "dead" setting was unchecked
* Exploded faces that were meant to be hidden were still created with invalid vertices (0,0,0,0).
* In normal cases this went unnoticed, but for example edge split modifier crashed when it encountered these faces.

8 years agocollada export: Don't write parentinverse if ob->parent is NULL
Juha Mäki-Kanto [Sun, 12 Feb 2012 15:30:07 +0000 (15:30 +0000)]
collada export: Don't write parentinverse if ob->parent is NULL

8 years agorename CDDM_To_BMesh to DM_to_editbmesh, since theres no requirement for
Campbell Barton [Sun, 12 Feb 2012 15:02:33 +0000 (15:02 +0000)]
rename CDDM_To_BMesh to DM_to_editbmesh, since theres no requirement for
the input to be a CDDM.

remove conversions to CDDM for edge split and bevel (will give some
speedup).

8 years agostyle cleanup for bmesh headers
Campbell Barton [Sun, 12 Feb 2012 14:40:08 +0000 (14:40 +0000)]
style cleanup for bmesh headers
- use consistant header guards
- correct doxy comments
- remove ED_toolmode.h (unused)

8 years agoFix #30110: Outliner view: restriction icons not updating when toggling from Groups...
Sergey Sharybin [Sun, 12 Feb 2012 12:07:02 +0000 (12:07 +0000)]
Fix #30110: Outliner view: restriction icons not updating when toggling from Groups view

Fixed by using proper button type.

8 years agoindentation cleanup
Campbell Barton [Sun, 12 Feb 2012 11:58:41 +0000 (11:58 +0000)]
indentation cleanup

8 years agoFix #30151: Allow Negative Frames does not affect arrow keys
Sergey Sharybin [Sun, 12 Feb 2012 11:42:17 +0000 (11:42 +0000)]
Fix #30151: Allow Negative Frames does not affect arrow keys

Patch by Tobias Johansson, thanks!

8 years agoprefix bmesh operator files with bmo_ (otherwise adding breakpoints in files like...
Campbell Barton [Sun, 12 Feb 2012 11:39:40 +0000 (11:39 +0000)]
prefix bmesh operator files with bmo_ (otherwise adding breakpoints in files like utils.c can be a pain).

also remove bmesh_filters.h which wasnt used.

8 years agoFix: Avoid freeing frect, it always points to a buffer that will be freed later,...
Antony Riakiotakis [Sun, 12 Feb 2012 11:27:51 +0000 (11:27 +0000)]
Fix: Avoid freeing frect, it always points to a buffer that will be freed later, like srgb_frect or ftilerect on or must not be freed, like Imbuf array itself.

8 years agoFix #30152: Several drag and drop of image on mesh crashes
Sergey Sharybin [Sun, 12 Feb 2012 11:21:35 +0000 (11:21 +0000)]
Fix #30152: Several drag and drop of image on mesh crashes

Issue was caused by making and loading editMesh in drop_named_image_invoke,
which lead to freeing/changing pointers used by CustomData layers. Some of
this pointers might be used by DerivedMesh, so we need to update DerivedMesh
after loading EditMesh.

8 years agocode refactor, function renaming for bmesh.
Campbell Barton [Sun, 12 Feb 2012 10:51:45 +0000 (10:51 +0000)]
code refactor, function renaming for bmesh.

These changes are to make the bmesh api more consistent and easier to learn, grouping similar functions which is convenient for autocomplete.
This uses similar convention to RNA.

* use face/loop/edge/vert as a prefix for functions.
* use 'elem' as a prefix too for functions that can take any type with a BMHeader.
* changed from camel case to underscore separated (like RNA).

8 years agoFix #30132: "Add Game Property" works incorrect after "Add Text Game Property"
Sergey Sharybin [Sun, 12 Feb 2012 10:23:06 +0000 (10:23 +0000)]
Fix #30132: "Add Game Property" works incorrect after "Add Text Game Property"

Issues was caused by operator props "presets" which was reusing name of property
on every run of OBJECT_OT_game_property_new. This run into conflict with how text
property is determining -- it's stupid name comparsion which worked unexpectable
after adding and removing text property.

Solved by using empty (default) name for game_property_new when crating game property.

8 years agoRegression fix for "Show Seconds" in Sequencer.
Sergey Sharybin [Sun, 12 Feb 2012 09:04:12 +0000 (09:04 +0000)]
Regression fix for "Show Seconds" in Sequencer.
It was missed RNA property in Sequencer space which lead to issues after recent
refactoring of related areas.

8 years agorename BM_ flags for `BMHeader->hflag` to BM_ELEM_ to be more clear that these flags...
Campbell Barton [Sun, 12 Feb 2012 06:24:12 +0000 (06:24 +0000)]
rename BM_ flags for `BMHeader->hflag`  to BM_ELEM_ to be more clear that these flags apply to bmesh elements.

8 years agoremove some unused defines
Campbell Barton [Sun, 12 Feb 2012 06:09:22 +0000 (06:09 +0000)]
remove some unused defines

8 years agoFix [#29737] Can't edit particle hair if particle count is 0.
Janne Karhu [Sun, 12 Feb 2012 00:43:57 +0000 (00:43 +0000)]
Fix [#29737] Can't edit particle hair if particle count is 0.
* Hair wasn't flagged as "done" if particle count was 0 before setting particles as hair, so particle edit mode didn't work.

8 years agoFix [#29530] Changing to particle mode could crash in some cases
Janne Karhu [Sun, 12 Feb 2012 00:32:31 +0000 (00:32 +0000)]
Fix [#29530] Changing to particle mode could crash in some cases
* If a baked particle didn't have any cached keys creating an edit path for it crashed.

8 years agoFix [#29265] Particle Instance: Create Along Paths + Children inconsistent with actua...
Janne Karhu [Sun, 12 Feb 2012 00:25:52 +0000 (00:25 +0000)]
Fix [#29265] Particle Instance: Create Along Paths + Children inconsistent with actual children hair particles
* Hair particle rotations weren't calculated properly for particle locations along a path and the "particle on path" calculations were not correct in many other ways too.
* Now the particle's location along a path is interpolated directly from the cached paths if it exist. These paths are always correctly calculated.
* Paths are now cached if a particle instance modifier using the particle system with the path option exists.

8 years agosolidify modifier fix for material offset.
Campbell Barton [Sat, 11 Feb 2012 21:39:09 +0000 (21:39 +0000)]
solidify modifier fix for material offset.

8 years agominor include cleanup, add GPL header (copied from BKE_animsys.h
Campbell Barton [Sat, 11 Feb 2012 19:43:06 +0000 (19:43 +0000)]
minor include cleanup, add GPL header (copied from BKE_animsys.h

8 years agoFix [#30136] Adding Sequence Plugin fails.
Bastien Montagne [Sat, 11 Feb 2012 16:08:45 +0000 (16:08 +0000)]
Fix [#30136] Adding Sequence Plugin fails.

Problem was in how file selector is called by the effect_strip_add operator invoke. WM_operator_filesel() is not suited, as it directly calls exec if filepath is already set, and sequencer_generic_invoke_xy__internal() will set that path unless otherwise told. So using rather the same way to do as the one used by the other "strip_add" operators...

8 years agotypo fix when a preset fails to run. (fail at failing)
Campbell Barton [Sat, 11 Feb 2012 15:49:25 +0000 (15:49 +0000)]
typo fix when a preset fails to run. (fail at failing)

8 years agoFix [#30122] "Tweak" mouse event values were not loaded from keymap files.
Bastien Montagne [Sat, 11 Feb 2012 14:50:26 +0000 (14:50 +0000)]
Fix [#30122] "Tweak" mouse event values were not loaded from keymap files.

The problem was, those values were not included in the event type agnostic event_value_items list, hence RNA keymap item creation just ignored them.

8 years agouse ValueError when vector/matrix multiplications sizes are not supported, was using...
Campbell Barton [Sat, 11 Feb 2012 14:27:36 +0000 (14:27 +0000)]
use ValueError when vector/matrix multiplications sizes are not supported, was using TypeError for mat*vec and ValueError for vec*mat.

8 years agofix for crash adding movie strips that were not a supported format.
Campbell Barton [Sat, 11 Feb 2012 13:19:25 +0000 (13:19 +0000)]
fix for crash adding movie strips that were not a supported format.

8 years agodont add the name field to theme presets for now.
Campbell Barton [Sat, 11 Feb 2012 12:23:23 +0000 (12:23 +0000)]
dont add the name field to theme presets for now.

8 years agoresetting the theme wasnt changign the panel header.
Campbell Barton [Sat, 11 Feb 2012 12:16:34 +0000 (12:16 +0000)]
resetting the theme wasnt changign the panel header.

8 years agocorrect bad level include.
Campbell Barton [Sat, 11 Feb 2012 10:56:07 +0000 (10:56 +0000)]
correct bad level include.

8 years agoanother include cleanup
Campbell Barton [Sat, 11 Feb 2012 10:50:48 +0000 (10:50 +0000)]
another include cleanup

8 years agomode bmesh include cleanup, remove unused file too.
Campbell Barton [Sat, 11 Feb 2012 10:15:11 +0000 (10:15 +0000)]
mode bmesh include cleanup, remove unused file too.

8 years agoinclude cleanup
Campbell Barton [Sat, 11 Feb 2012 08:46:56 +0000 (08:46 +0000)]
include cleanup

8 years agoGPL Header Cleanup
Campbell Barton [Sat, 11 Feb 2012 04:16:17 +0000 (04:16 +0000)]
GPL Header Cleanup

8 years agosvn merge ^/trunk/blender -r43995:44024
Campbell Barton [Sat, 11 Feb 2012 04:10:50 +0000 (04:10 +0000)]
svn merge ^/trunk/blender -r43995:44024

8 years agoupdate gpl header in cmake files
Campbell Barton [Sat, 11 Feb 2012 04:05:00 +0000 (04:05 +0000)]
update gpl header in cmake files

8 years agoStyle Cleanup:
Campbell Barton [Sat, 11 Feb 2012 04:00:18 +0000 (04:00 +0000)]
Style Cleanup:

also remove editmesh/bmesh conversion files, these wont ever be used and dont contain anything useful as examples.

8 years agoStyle Cleanup
Campbell Barton [Sat, 11 Feb 2012 03:34:57 +0000 (03:34 +0000)]
Style Cleanup

8 years agoStyle Cleanup
Campbell Barton [Fri, 10 Feb 2012 18:09:19 +0000 (18:09 +0000)]
Style Cleanup

8 years agoFix #30131: mac UI font corruption in release candidate, refined test for
Brecht Van Lommel [Fri, 10 Feb 2012 17:12:44 +0000 (17:12 +0000)]
Fix #30131: mac UI font corruption in release candidate, refined test for
ATI/Apple cards with broken non-power-of-two-textures missed some cards,
checked against list of GL_RENDERER values, hopefully complete now.

8 years agofix for smooth not working with mirror clip.
Campbell Barton [Fri, 10 Feb 2012 15:25:12 +0000 (15:25 +0000)]
fix for smooth not working with mirror clip.

8 years agoDisable PDF doc since its giving errors with latex indentation.
Campbell Barton [Fri, 10 Feb 2012 15:00:55 +0000 (15:00 +0000)]
Disable PDF doc since its giving errors with latex indentation.

upload the zipped version of HTML docs instead.

8 years agoYkey is now separate again (as with trunk), use Jkey for Connecting verts.
Campbell Barton [Fri, 10 Feb 2012 08:09:49 +0000 (08:09 +0000)]
Ykey is now separate again (as with trunk), use Jkey for Connecting verts.

8 years agofix [#30129] Sharp Edges select function inverted
Campbell Barton [Fri, 10 Feb 2012 07:55:33 +0000 (07:55 +0000)]
fix [#30129] Sharp Edges select function inverted

8 years agobge font objects: fix for difference in size when object has a parent
Dalai Felinto [Fri, 10 Feb 2012 07:52:21 +0000 (07:52 +0000)]
bge font objects: fix for difference in size when object has a parent
for after 2.62 I would like to try if using doubles would help to increase the precision here.

Also now that the mipmap patch is reverted we may want to look at this problem from a different perspective.
RES could be calculated taking the object size in relation to the camera (i.e. size and distance, ignoring rotation).
That may solve both problems of wrong resolution and lack of smoothness.

For the time being users still need to use object.resolution to fine tune the rendered text.

8 years agoStyle Edits only: use TRUE/FALSE rather then 1/0
Campbell Barton [Fri, 10 Feb 2012 06:50:16 +0000 (06:50 +0000)]
Style Edits only: use TRUE/FALSE rather then 1/0

8 years agofix flushing issue when using linked selection picking in editmode.
Campbell Barton [Fri, 10 Feb 2012 06:26:16 +0000 (06:26 +0000)]
fix flushing issue when using linked selection picking in editmode.

- existing selections that should be un-effected would get incorrectly flushed

8 years agoreverting commit [43876] Fix for aliased fonts in the game engine
Dalai Felinto [Fri, 10 Feb 2012 06:18:32 +0000 (06:18 +0000)]
reverting commit [43876] Fix for aliased fonts in the game engine

8 years agoreviewed selection flushing code, some of this was incorrect, checked all uses agains...
Campbell Barton [Fri, 10 Feb 2012 06:16:21 +0000 (06:16 +0000)]
reviewed selection flushing code, some of this was incorrect, checked all uses against trunk.

loop select also was incorrectly calling EDBM_select_flush() rather then EDBM_store_selection(), tsk tsk. (and strange nobody noticed this).

8 years agobugfix [#30127] alpha in FontObjects not working in blenderplayer
Dalai Felinto [Fri, 10 Feb 2012 05:10:52 +0000 (05:10 +0000)]
bugfix [#30127] alpha in FontObjects not working in blenderplayer