blender.git
7 years agoupdate python keywords (remove exec, print, add nonlocal)
Campbell Barton [Fri, 6 Apr 2012 05:53:01 +0000 (05:53 +0000)]
update python keywords (remove exec, print, add nonlocal)

7 years agocode cleanup: header cleanup, remove commented workaround for mingw since its no...
Campbell Barton [Fri, 6 Apr 2012 04:46:47 +0000 (04:46 +0000)]
code cleanup: header cleanup, remove commented workaround for mingw since its no longer needed.

7 years agospherical panoramic fix
Dalai Felinto [Thu, 5 Apr 2012 22:06:45 +0000 (22:06 +0000)]
spherical panoramic fix
note: this was never correct and not a single soul bothered noticing that.
not really a surprise, this mode is more for debug than for anything else.
to test go to (game engine) Render -> Dome Mode -> Spherical Panorama

thanks to Aldo Zang to help me spotting the problem.

7 years agoFix windows compile error in previous commit.
Brecht Van Lommel [Thu, 5 Apr 2012 16:23:47 +0000 (16:23 +0000)]
Fix windows compile error in previous commit.

7 years agoCycles / OpenCL:
Thomas Dinges [Thu, 5 Apr 2012 16:19:51 +0000 (16:19 +0000)]
Cycles / OpenCL:
* Enable __KERNEL_SHADING__ per default for OpenCL.
This enables basic shading (color, emission, textures...) for AMD cards.

You need the latest AMD catalyst driver in order to have this work.

7 years agoCycles: add rejection of inf/nan samples, in principle these should not happen
Brecht Van Lommel [Thu, 5 Apr 2012 15:17:45 +0000 (15:17 +0000)]
Cycles: add rejection of inf/nan samples, in principle these should not happen
but this makes it more reliable for now.

Also add an integrator "Clamp" option, to clamp very light samples to a maximum
value. This will reduce accuracy but may help reducing noise and speed up
convergence.

7 years agoDO not store Flipped flag for pose paste operator in operator redo storage,
Sergey Sharybin [Thu, 5 Apr 2012 15:05:49 +0000 (15:05 +0000)]
DO not store Flipped flag for pose paste operator in operator redo storage,
so mixing pasteing flipped and non-flipped will work properly.

7 years agoFix #30804: nodetree.links.new() incorrectly disconnected or allowed to connect
Brecht Van Lommel [Thu, 5 Apr 2012 14:17:42 +0000 (14:17 +0000)]
Fix #30804: nodetree.links.new() incorrectly disconnected or allowed to connect
multiple links to a socket when the arguments were passed in order:
(input socket, output socket) instead of (output socket, input socket)

7 years agoFix for setting active UV, vertex colors and probably shape keys from python API.
Sergey Sharybin [Thu, 5 Apr 2012 13:01:41 +0000 (13:01 +0000)]
Fix for setting active UV, vertex colors and probably shape keys from python API.

It was an error how index of requested layer was searching: iterating used to start
from the beginning of data layers datablock, not from index at which requested
layer type actually begins.

7 years agofix for memory leak when using the bmesh python api - would allocate customdata layer...
Campbell Barton [Thu, 5 Apr 2012 12:51:17 +0000 (12:51 +0000)]
fix for memory leak when using the bmesh python api - would allocate customdata layers and overwrite them when converting a mesh to a bmesh (without freeing).

7 years agoMore i18n minor fixes:
Bastien Montagne [Thu, 5 Apr 2012 12:32:49 +0000 (12:32 +0000)]
More i18n minor fixes:
*Moved portuguese to its right place (alphabetical order).
*Commented out (in menu) four languages for which we have no translation at all yet: Dutch, Korean, Romanian and Ukrainian (easy to bring them back as soon as we have some translation!).

7 years agoUI files:
Thomas Dinges [Thu, 5 Apr 2012 09:52:03 +0000 (09:52 +0000)]
UI files:
* Naming convention fixes and one if / elif fix.

7 years agoupdated man page
Campbell Barton [Thu, 5 Apr 2012 09:41:55 +0000 (09:41 +0000)]
updated man page

7 years agoReadme and Release Log Links:
Thomas Dinges [Thu, 5 Apr 2012 09:27:53 +0000 (09:27 +0000)]
Readme and Release Log Links:
* Update to 2.63
* Update readme with proper links to 2.6 Manual, remove Solaris OS (no official builds from our side).

7 years agoAdding turkish (tr_TR) language.
Bastien Montagne [Thu, 5 Apr 2012 09:13:32 +0000 (09:13 +0000)]
Adding turkish (tr_TR) language.

7 years agopatch [#30812] Couple operator tooltip proposals (editmesh_tools.c)
Campbell Barton [Thu, 5 Apr 2012 07:05:44 +0000 (07:05 +0000)]
patch [#30812] Couple operator tooltip proposals (editmesh_tools.c)
from Sebastian Nell (codemanx), with some edits.

7 years agoSmall improvement to bmo icosphere primitive: instead of calling n times the subdivid...
Bastien Montagne [Thu, 5 Apr 2012 06:47:14 +0000 (06:47 +0000)]
Small improvement to bmo icosphere primitive: instead of calling n times the subdivide bmo with one cut, call it once, with the right number of cuts (which is (2^(n-1)) - 1).

7 years agofix [#30806] Mirror Hair Particles Bug, Complete Crash
Campbell Barton [Thu, 5 Apr 2012 06:26:18 +0000 (06:26 +0000)]
fix [#30806] Mirror Hair Particles Bug, Complete Crash

7 years agothere was no way to reset timing for absolute shape keys, add an operator to do so.
Campbell Barton [Thu, 5 Apr 2012 06:10:15 +0000 (06:10 +0000)]
there was no way to reset timing for absolute shape keys, add an operator to do so.

7 years agoadding shape key blocks to absolute shape keys would not set the position (which...
Campbell Barton [Thu, 5 Apr 2012 05:51:26 +0000 (05:51 +0000)]
adding shape key blocks to absolute shape keys would not set the position (which is odd since its the only time they are used).

also re-sort the shape keys after adding them in for absolute keyblocks.

7 years agofix for error moving absolute shape keys up/down (their position would become out...
Campbell Barton [Thu, 5 Apr 2012 05:38:52 +0000 (05:38 +0000)]
fix for error moving absolute shape keys up/down (their position would become out of order)

7 years ago- fix error with conflusing key/keyblock in the shape template UI - absolute keyblock...
Campbell Barton [Thu, 5 Apr 2012 05:25:20 +0000 (05:25 +0000)]
- fix error with conflusing key/keyblock in the shape template UI - absolute keyblocks would always be greyed out.
- fix mistake setting wrong variable in unlikely case of curve having no bezier or point array set.

7 years agoreport [#30814] Absolute Shape Keys not working in 2.6
Campbell Barton [Thu, 5 Apr 2012 05:05:18 +0000 (05:05 +0000)]
report [#30814] Absolute Shape Keys not working in 2.6

This report points out thet absolute shape keys are unusable.

The problem is there was no way to adjust the play time of a shape key (all absolte shape keys would start at frame zero with no way to change the speed).

Added an 'eval_time' property to the key block that works like the curve path evaluation time, so the time in the keyblock can be controlled.

7 years agoThis fixes BGE bugs #30484 (Frame rate increases very high after game engine start...
Mitchell Stokes [Thu, 5 Apr 2012 03:05:02 +0000 (03:05 +0000)]
This fixes BGE bugs #30484 (Frame rate increases very high after game engine start with record animation enabled) and #29449 (Record Animation runs 1000+ fps on Mac OSX 10.6.8 64bit). The problem was, recording animation was forcing "fixed time", which always advances the engine one frame instead of advancing based on time passed. This means that "fixed time" runs at full speed. Now fixed time is disabled when recording animation.

7 years agofix [#30788] Weight paint mode draws mask single sided only when selected.
Campbell Barton [Thu, 5 Apr 2012 02:23:00 +0000 (02:23 +0000)]
fix [#30788] Weight paint mode draws mask single sided only when selected.

error with recent refactoring.

7 years agofix [#30817] Toolshelf delete vs X menu don't match? Bug/Inconsistancy?
Campbell Barton [Thu, 5 Apr 2012 01:55:49 +0000 (01:55 +0000)]
fix [#30817] Toolshelf delete vs X menu don't match? Bug/Inconsistancy?

7 years agopartial fix [#30813] Small UI glitch with high DPI value in menus
Campbell Barton [Thu, 5 Apr 2012 01:49:28 +0000 (01:49 +0000)]
partial fix [#30813] Small UI glitch with high DPI value in menus

fix provided by Julien Enche (trap).

also corrected some 2.4x theme colors (selected file, outliner and image background)

7 years agoadjust limited dissolve to take face angle into account when dissolving vertices...
Campbell Barton [Thu, 5 Apr 2012 01:20:32 +0000 (01:20 +0000)]
adjust limited dissolve to take face angle into account when dissolving vertices between manifold edges.

stops artifact with zig-zag patterns between _almost_ planer faces.

7 years agoYet another windef.h compile fix for MinGW for game engine/video textures with ffmpeg...
Antony Riakiotakis [Wed, 4 Apr 2012 17:18:01 +0000 (17:18 +0000)]
Yet another windef.h compile fix for MinGW for game engine/video textures with ffmpeg. Looks like there is some redefinition of LONG , DWORD etc. Changing the order of inclusion resolves the issue.

7 years agoFix bug [#30810] Blender crashes with Array modifier
Nicholas Bishop [Wed, 4 Apr 2012 16:35:13 +0000 (16:35 +0000)]
Fix bug [#30810] Blender crashes with Array modifier

When merging bmesh customdata, memset the new blocks to
zero. Otherwise can contain junk values (some layer types with
pointers like MDeformVert can then crash.)

7 years agoFix #30710: cycles wrong render time after pause/unpause in viewport.
Brecht Van Lommel [Wed, 4 Apr 2012 16:11:44 +0000 (16:11 +0000)]
Fix #30710: cycles wrong render time after pause/unpause in viewport.

7 years agoFix #30803: shader node Mapping location property conflicted with based class
Brecht Van Lommel [Wed, 4 Apr 2012 16:11:39 +0000 (16:11 +0000)]
Fix #30803: shader node Mapping location property conflicted with based class
location property (for the node editor), now renamed to "translation".

7 years agoFix #30811: glsl error in material draw mode, due to recent commit.
Brecht Van Lommel [Wed, 4 Apr 2012 16:11:10 +0000 (16:11 +0000)]
Fix #30811: glsl error in material draw mode, due to recent commit.

7 years agoVector blur compo node: raising hard limit for Blur factor to 20 (soft, UI limit...
Bastien Montagne [Wed, 4 Apr 2012 15:43:39 +0000 (15:43 +0000)]
Vector blur compo node: raising hard limit for Blur factor to 20 (soft, UI limit remains at 2), usefull in some "special effects" case, though results can become strange in some cases...

7 years agoUpdate to i18n font: a few small cyrillic letters were missing...
Bastien Montagne [Wed, 4 Apr 2012 15:39:48 +0000 (15:39 +0000)]
Update to i18n font: a few small cyrillic letters were missing...

Found by Chingis Jumaliev, which did a first edit, I completed it from current Debian’s droidsans version, now cyrillic should be complete.

7 years agofix [#30809] Limited dissolve leaves edges behind
Campbell Barton [Wed, 4 Apr 2012 15:10:20 +0000 (15:10 +0000)]
fix [#30809] Limited dissolve leaves edges behind

7 years agoadd option not to delete edges/verts when joining faces, needed so we can loop over...
Campbell Barton [Wed, 4 Apr 2012 14:48:10 +0000 (14:48 +0000)]
add option not to delete edges/verts when joining faces, needed so we can loop over edges and join them without having to check if they have been removed.

7 years agoreplace relative imports with absolute imports so scritps can be executed directly...
Campbell Barton [Wed, 4 Apr 2012 14:39:52 +0000 (14:39 +0000)]
replace relative imports with absolute imports so scritps can be executed directly (live editing).

7 years agoFix blenderplayer compile.
Miika Hamalainen [Wed, 4 Apr 2012 10:55:55 +0000 (10:55 +0000)]
Fix blenderplayer compile.

7 years agofix for building on linux with gcc4.7, an error was caused by undefining __cplusplus...
Campbell Barton [Wed, 4 Apr 2012 10:54:56 +0000 (10:54 +0000)]
fix for building on linux with gcc4.7, an error was caused by undefining __cplusplus, so as to work with mingw4.4

this was added in r23608 so hopefully we can get buy now without it - or only undefine this in mingw if the problem still exists (cant test now).

7 years agouse 2.4x tooltip colors
Campbell Barton [Wed, 4 Apr 2012 06:02:10 +0000 (06:02 +0000)]
use 2.4x tooltip colors

7 years agoupdate themes for new settings + theme update script.
Campbell Barton [Wed, 4 Apr 2012 05:42:36 +0000 (05:42 +0000)]
update themes for new settings + theme update script.

7 years agoswitching shape keys in editmode needs to recalc normals.
Campbell Barton [Wed, 4 Apr 2012 03:32:41 +0000 (03:32 +0000)]
switching shape keys in editmode needs to recalc normals.

7 years agoChanged BM_mesh_bm_from_me to copy customdata layout for empty meshes.
Joseph Eagar [Wed, 4 Apr 2012 01:35:27 +0000 (01:35 +0000)]
Changed BM_mesh_bm_from_me to copy customdata layout for empty meshes.

7 years agouse 'const float' when passing readonly colors, and include array size.
Campbell Barton [Wed, 4 Apr 2012 01:02:15 +0000 (01:02 +0000)]
use 'const float' when passing readonly colors, and include array size.

7 years agofix [#30797] Shape keys on linked duplicate get corrupted
Campbell Barton [Wed, 4 Apr 2012 00:45:40 +0000 (00:45 +0000)]
fix [#30797] Shape keys on linked duplicate get corrupted

7 years agofix for reconstructing shape keys (found when looking into bug [#30797], but not...
Campbell Barton [Wed, 4 Apr 2012 00:02:48 +0000 (00:02 +0000)]
fix for reconstructing shape keys (found when looking into bug [#30797], but not a fix for this bug).

7 years agorename MPoly vars called mface or mf, to avoid confusion with MFace types.
Campbell Barton [Tue, 3 Apr 2012 23:40:24 +0000 (23:40 +0000)]
rename MPoly vars called mface or mf, to avoid confusion with MFace types.

7 years agoFix #30796: uv vertex coordinates panel in uv editor incorrectly taking into
Brecht Van Lommel [Tue, 3 Apr 2012 19:08:06 +0000 (19:08 +0000)]
Fix #30796: uv vertex coordinates panel in uv editor incorrectly taking into
account selected uvs from hidden faces.

7 years agoFix bug #30778, sculpt w/ modifiers + undo causes collapse of vertices
Nicholas Bishop [Tue, 3 Apr 2012 18:41:40 +0000 (18:41 +0000)]
Fix bug #30778, sculpt w/ modifiers + undo causes collapse of vertices

Was caused by earlier refactoring of undo, used index array
before it gets initialized. Fixed by swapping order of copying.

Also changed normals calculation on undo restore to operate on
tessellated data (which sculpt still uses), fixes console warning
print.

7 years agoFix #30795: draw other objects in uv editor not working.
Brecht Van Lommel [Tue, 3 Apr 2012 17:26:57 +0000 (17:26 +0000)]
Fix #30795: draw other objects in uv editor not working.

7 years agoFix [#30665] UV-Editor: UV -> Copy Mirrored UV coords: mesh.faces_mirror_uv op now...
Bastien Montagne [Tue, 3 Apr 2012 17:19:58 +0000 (17:19 +0000)]
Fix [#30665] UV-Editor: UV -> Copy Mirrored UV coords: mesh.faces_mirror_uv op now uses poly/loops (bmesh todo).

7 years agoFix #30791: BMEdge.is_manifold also returned true for edges with only one face
Brecht Van Lommel [Tue, 3 Apr 2012 17:09:47 +0000 (17:09 +0000)]
Fix #30791: BMEdge.is_manifold also returned true for edges with only one face
attached to it. A manifold edge should have exactly 2 faces attached to it,
sticking to the standard definition for "manifold".

7 years agoPopup menu layout inherits context store from button.
Lukas Toenne [Tue, 3 Apr 2012 15:18:59 +0000 (15:18 +0000)]
Popup menu layout inherits context store from button.

When adding extra context data in a layout using uiLayoutSetContextPointer, this info was not inherited by popup menus generated in this layout. While operators from regular buttons work fine, the data is missing in operators from menus and such. This patch copies the bContextStore from buttons to the new uiLayout used for popups.

7 years agoFix #30789: cycles still taking into account textured solid option when it should
Brecht Van Lommel [Tue, 3 Apr 2012 14:08:04 +0000 (14:08 +0000)]
Fix #30789: cycles still taking into account textured solid option when it should
have no effect.

7 years agoFix #28279: Shift S used twice in maya keyconfig
Sergey Sharybin [Tue, 3 Apr 2012 13:35:00 +0000 (13:35 +0000)]
Fix #28279: Shift S used twice in maya keyconfig

It looks to be non-maintained keymap anymore, this commit only resolves
keymap conflict changing snap menu to ctrl-shift-s, no more global
changes to not break muscule memory so close to release.

7 years agofix [#30340] bpy.ops.pose.select_hierarchy() doesn't work on disconnected parents...
Campbell Barton [Tue, 3 Apr 2012 12:20:44 +0000 (12:20 +0000)]
fix [#30340] bpy.ops.pose.select_hierarchy() doesn't work on disconnected parents/children

7 years agoavoid confusion with image 'Edit Externally' operator, disallow editing of packed...
Campbell Barton [Tue, 3 Apr 2012 12:02:32 +0000 (12:02 +0000)]
avoid confusion with image 'Edit Externally' operator, disallow editing of packed images, resolves bug [#30506].

7 years agoMake sure Multilayer EXR from other apps are read in as multilayer.
Nathan Letwory [Tue, 3 Apr 2012 11:53:38 +0000 (11:53 +0000)]
Make sure Multilayer EXR from other apps are read in as multilayer.

7 years agofix [#30608] Regression: BMesh merge broke customdata int/float/string layers
Campbell Barton [Tue, 3 Apr 2012 11:19:58 +0000 (11:19 +0000)]
fix [#30608] Regression: BMesh merge broke customdata int/float/string layers

7 years agorna/py api - rename layers with polygon prefix, since there are edge and vertex layer...
Campbell Barton [Tue, 3 Apr 2012 11:10:26 +0000 (11:10 +0000)]
rna/py api - rename layers with polygon prefix, since there are edge and vertex layers too.

7 years agoFixed mistake made in threaded EXR commit.
Sergey Sharybin [Tue, 3 Apr 2012 09:11:26 +0000 (09:11 +0000)]
Fixed mistake made in threaded EXR commit.

7 years agofix [#30786] bmesh: select linked not ignoring hidden verts/edges/faces (part 2)
Campbell Barton [Tue, 3 Apr 2012 07:35:50 +0000 (07:35 +0000)]
fix [#30786] bmesh: select linked not ignoring hidden verts/edges/faces (part 2)

7 years agofix/workaround an error related to [#30735]
Campbell Barton [Tue, 3 Apr 2012 07:31:11 +0000 (07:31 +0000)]
fix/workaround an error related to [#30735]

when a single face in a loop is hidden, loop cut will subdivide edges on both sides.
creating an edge between the hidden faces.

without this workaround the edge ends up hidden and selected.

added a check in BM_mesh_validate() for hidden/selected elements.

7 years agofix [#30735] bmesh: loop-cut cuts faces isolated by hidden faces
Campbell Barton [Tue, 3 Apr 2012 06:12:04 +0000 (06:12 +0000)]
fix [#30735] bmesh: loop-cut cuts faces isolated by hidden faces

7 years agoBM_mesh_esubdivideflag was adjusting the totedgesel variable when this is handled...
Campbell Barton [Tue, 3 Apr 2012 06:05:43 +0000 (06:05 +0000)]
BM_mesh_esubdivideflag was adjusting the totedgesel variable when this is handled by selection functions.

7 years agor45338 added multithreaded OpenEXR loading. Path to pthread was missing.
Nathan Letwory [Tue, 3 Apr 2012 05:23:23 +0000 (05:23 +0000)]
r45338 added multithreaded OpenEXR loading. Path to pthread was missing.

7 years agopartial fix [#30777] python console utf-8 problem
Campbell Barton [Tue, 3 Apr 2012 03:17:49 +0000 (03:17 +0000)]
partial fix [#30777] python console utf-8 problem

backspace/del now doesn't split up multi-byte characters.
Ctlr+Backspace/Del now work for deleting whole words.

7 years agopatch [#30780] Transform operator leak in aborted edge slide mode
Campbell Barton [Tue, 3 Apr 2012 02:52:34 +0000 (02:52 +0000)]
patch [#30780] Transform operator leak in aborted edge slide mode
from Francisco De La Cruz (xercesblue)

7 years agopatch [#30779] Multiselect mode cause inconsistent selection growing
Campbell Barton [Tue, 3 Apr 2012 02:46:44 +0000 (02:46 +0000)]
patch [#30779] Multiselect mode cause inconsistent selection growing

from Francisco De La Cruz (xercesblue)

The test to use faces was incorrect since mixed vertex and edge mode would be treated as faces.

made own minor change.

7 years agofix [#30772] No more than two subdivions give correct result when adding an icosphere
Campbell Barton [Tue, 3 Apr 2012 02:38:27 +0000 (02:38 +0000)]
fix [#30772] No more than two subdivions give correct result when adding an icosphere

bug was introduced in r45297, which inadvertently broke testing for multiple flags at once.

added BM_elem_flag_test_bool() and BMO_elem_flag_test_bool() to get TRUE/FALSE results rather then the flag value.

7 years agofix for vertex group blend - wasn't functional since the deform verts were being...
Campbell Barton [Tue, 3 Apr 2012 02:16:27 +0000 (02:16 +0000)]
fix for vertex group blend - wasn't functional since the deform verts were being tken from a NULL array,

also made some other improvements
- make it work in weight paint vert sel mode (some unused code for this was in the function).
- add factor slider.
- add to weight paint toolbar.

7 years agobmesh iterators were passing the BMesh as data argument to BM_iter_new(), harmless...
Campbell Barton [Tue, 3 Apr 2012 00:28:38 +0000 (00:28 +0000)]
bmesh iterators were passing the BMesh as data argument to BM_iter_new(), harmless but incorrect.
replace these cases with iterator macro.

7 years agocode cleanup: BM_select_mode_set had loops over verts and edges but did nothing ...
Campbell Barton [Mon, 2 Apr 2012 23:17:56 +0000 (23:17 +0000)]
code cleanup: BM_select_mode_set had loops over verts and edges but did nothing (set 0 flags), turns out setting any flags isnt needed since flushing manages this so '#if 0' for now.

7 years agostyle cleanup: multi-line if's & whitespace.
Campbell Barton [Mon, 2 Apr 2012 22:40:02 +0000 (22:40 +0000)]
style cleanup: multi-line if's & whitespace.

7 years agostule cleanup: edits for files which were recently cleaned up.
Campbell Barton [Mon, 2 Apr 2012 22:26:00 +0000 (22:26 +0000)]
stule cleanup: edits for files which were recently cleaned up.

7 years agoFurther fix for #30769: cycles assigning image to wrong material form the
Brecht Van Lommel [Mon, 2 Apr 2012 19:38:26 +0000 (19:38 +0000)]
Further fix for #30769: cycles assigning image to wrong material form the
uv image editor.

7 years agoFix #30769: cycles showing wrong image from active face in the uv editor,
Brecht Van Lommel [Mon, 2 Apr 2012 16:30:01 +0000 (16:30 +0000)]
Fix #30769: cycles showing wrong image from active face in the uv editor,
with multiple material slots.

7 years agoFix #30776: image editor pan not using continuous grab if enabled.
Brecht Van Lommel [Mon, 2 Apr 2012 16:29:34 +0000 (16:29 +0000)]
Fix #30776: image editor pan not using continuous grab if enabled.

7 years agoFix #30398: Mesh objects with curve modifiers render in thier 'rest' position, not...
Sergey Sharybin [Mon, 2 Apr 2012 15:06:21 +0000 (15:06 +0000)]
Fix #30398: Mesh objects with curve modifiers render in thier 'rest' position, not thier 'pose' position

Do not recalculate curve's path if displist is building for orco -- in this
case modifiers are not applying on curve which makes path be calculated and
later used by dependent objects with it's non-modified state.

7 years agoExpand active scene's clip when linking scene.
Sergey Sharybin [Mon, 2 Apr 2012 13:56:39 +0000 (13:56 +0000)]
Expand active scene's clip when linking scene.

7 years agoSolve namespace conflicts for ole grumpy MinGW. It seems FLOAT is also defined in...
Antony Riakiotakis [Mon, 2 Apr 2012 13:48:20 +0000 (13:48 +0000)]
Solve namespace conflicts for ole grumpy MinGW. It seems FLOAT is also defined in a windef.h header.

7 years agoFix #30767: VSE timeline marker update
Sergey Sharybin [Mon, 2 Apr 2012 12:37:03 +0000 (12:37 +0000)]
Fix #30767: VSE timeline marker update

Patch by Dan Eicher, thanks!

7 years agoHopefully last change to matrix orthogonal check, touches Py API only
Sergey Sharybin [Mon, 2 Apr 2012 12:36:00 +0000 (12:36 +0000)]
Hopefully last change to matrix orthogonal check, touches Py API only

- is_orthogonal now checks matrix in the same way as it's defined
  by linear algebra, meaning that it'll use is_orhonormal C check
- Added is_orthogonal_axis_vectors to check if vectors which defines
  axises are orthogonal

7 years agoFix #30770: missing node editor redraw when changing active material by clicking
Brecht Van Lommel [Mon, 2 Apr 2012 11:51:36 +0000 (11:51 +0000)]
Fix #30770: missing node editor redraw when changing active material by clicking
on face in edit mode.

7 years agowrap RNA's RNA_property_collection_clear from python.
Campbell Barton [Mon, 2 Apr 2012 11:28:26 +0000 (11:28 +0000)]
wrap RNA's RNA_property_collection_clear from python.

7 years agoMultithreaded EXR files loading
Sergey Sharybin [Mon, 2 Apr 2012 11:04:24 +0000 (11:04 +0000)]
Multithreaded EXR files loading

Use multithreaded loading of EXR files which is enabling by call of
setGlobalThreadCount function from OpenEXR library to set up number
of used threads to number of system threads which speeds up loading
high-resolution files on multi-core / multi-cpu systems and allows
to work with high-resolution sequences in clip editor and sequencer.

7 years agofix for a bug with Ctrl+Click extrude in curve editmode, it would use the wrong handl...
Campbell Barton [Mon, 2 Apr 2012 10:20:10 +0000 (10:20 +0000)]
fix for a bug with Ctrl+Click extrude in curve editmode, it would use the wrong handle type in some cases.
also make it re-calculate the handle locations which is much more useful.

7 years agofix problem with select invert - flush selection.
Campbell Barton [Mon, 2 Apr 2012 09:07:02 +0000 (09:07 +0000)]
fix problem with select invert - flush selection.

previously this wasnt needed because doing an undo push would flush the selection.

7 years agoadding back boundary inset support. was disabled because at one point it was unstable.
Campbell Barton [Mon, 2 Apr 2012 08:58:26 +0000 (08:58 +0000)]
adding back boundary inset support. was disabled because at one point it was unstable.

7 years agofix [#30758] bmesh: unable to rip a single vertex
Campbell Barton [Mon, 2 Apr 2012 08:35:12 +0000 (08:35 +0000)]
fix [#30758] bmesh: unable to rip a single vertex

this also adds the ability to rip disconnected face fans apart which is handy.

7 years agoConstraint UI:
Thomas Dinges [Mon, 2 Apr 2012 07:54:12 +0000 (07:54 +0000)]
Constraint UI:
* Adjust "no py constraint" message to be a bit more meaningful.

7 years agoMinor UI messages fix...
Bastien Montagne [Mon, 2 Apr 2012 06:56:16 +0000 (06:56 +0000)]
Minor UI messages fix...

7 years agocode cleanup: replace inline axis angle conversion with axis_angle_to_mat3()
Campbell Barton [Mon, 2 Apr 2012 06:43:16 +0000 (06:43 +0000)]
code cleanup: replace inline axis angle conversion with axis_angle_to_mat3()

7 years agostyle cleanup
Campbell Barton [Mon, 2 Apr 2012 06:26:52 +0000 (06:26 +0000)]
style cleanup

7 years agopatch [#30721] Fly Operator Stack Corruption
Campbell Barton [Mon, 2 Apr 2012 05:34:58 +0000 (05:34 +0000)]
patch [#30721] Fly Operator Stack Corruption
from Jason Wilkins (jwilkins)

slight change to fix in patch.

7 years agofix [#30768] Project from View UV map tool includes hidden geometry r45323
Campbell Barton [Mon, 2 Apr 2012 04:45:44 +0000 (04:45 +0000)]
fix [#30768] Project from View UV map tool includes hidden geometry r45323

select all could select hidden faces, now BM_mesh_elem_flag_enable/disable_all takes an argument to skip hidden elements.

7 years agofix - extrude could create hidden faces when the only connected face to an edge was...
Campbell Barton [Mon, 2 Apr 2012 03:51:16 +0000 (03:51 +0000)]
fix - extrude could create hidden faces when the only connected face to an edge was hidden, the hidden setting would be copied to the newly created face.

7 years agocode cleanup:
Campbell Barton [Mon, 2 Apr 2012 02:41:28 +0000 (02:41 +0000)]
code cleanup:
  always use if (...) even if the macros dont require it (confuses parsers)
  define macros without the ';'s included.

7 years agostyle cleanup
Campbell Barton [Mon, 2 Apr 2012 01:57:56 +0000 (01:57 +0000)]
style cleanup