9 years agobugfix [#30760] edit text property bug
Dalai Felinto [Mon, 9 Apr 2012 01:42:44 +0000 (01:42 +0000)]
bugfix [#30760] edit text property bug
backspace was messing up with utf8 text.
hijacking Blender utf8 functions

tested in CMake but I think scons should work too. No idea about pure 'make'
Happy Easter ;)

9 years agoFixed compile error when building with WITH_LZMA and not WITH_LZO for pointcache...
Francisco De La Cruz [Mon, 9 Apr 2012 01:24:56 +0000 (01:24 +0000)]
Fixed compile error when building with WITH_LZMA and not WITH_LZO for pointcache compression.

9 years agoWarning Fixes - const correctness in unicode encoding, unused variables in blenlib...
Jason Wilkins [Mon, 9 Apr 2012 01:16:19 +0000 (01:16 +0000)]
Warning Fixes - const correctness in unicode encoding, unused variables in blenlib, and some type conversions

This is from a patch that is in the tracker, but it leaves out a fix of BLI_gzopen which needs more work.

9 years agoFix for [#30822] Foam Mapping for Ocean Modifier is out of sync in Blender Internal...
Bastien Montagne [Sun, 8 Apr 2012 19:50:00 +0000 (19:50 +0000)]
Fix for [#30822] Foam Mapping for Ocean Modifier is out of sync in Blender Internal Render.

We need both a new MLOOPUV and MTEXPOLY layers with generated geometry! For some reason, the loopuv alone seemed to work in 3D view, but definitively not in render.

9 years agoTiny fix for console warning, remove period from a description in Cycles.
Nicholas Bishop [Sun, 8 Apr 2012 16:19:13 +0000 (16:19 +0000)]
Tiny fix for console warning, remove period from a description in Cycles.

9 years agocode cleanup: remove unused imports/defines + other redundant code.
Campbell Barton [Sun, 8 Apr 2012 13:11:25 +0000 (13:11 +0000)]
code cleanup: remove unused imports/defines + other redundant code.

9 years agostyle cleanup: pep8 some C/style
Campbell Barton [Sun, 8 Apr 2012 08:09:37 +0000 (08:09 +0000)]
style cleanup: pep8 some C/style

9 years agocode cleanup:
Campbell Barton [Sun, 8 Apr 2012 07:34:09 +0000 (07:34 +0000)]
code cleanup:
- remove unused vars
- no need to hard code version number for collada.
- cleanup some typos in comments.
- movieclip_calc_length was passing arg which should be unsigned to BLI_stringdec()

9 years agoFix [#30853] "Merge At Last" is missing in multicomponent mode
Francisco De La Cruz [Sat, 7 Apr 2012 23:31:15 +0000 (23:31 +0000)]
Fix [#30853] "Merge At Last" is missing in multicomponent mode

Mode selection inverted in multicomponent mode including vertices.

9 years agoFix [#30855] Vertex Slide not using the active vertex
Francisco De La Cruz [Sat, 7 Apr 2012 19:53:39 +0000 (19:53 +0000)]
Fix [#30855] Vertex Slide not using the active vertex

Now uses the last selected vertex.
Also, snapping thresholds are now dynamic and the tool's operation should be more consistent with multiple edges selected on invocation.

9 years ago* Replace some more Blender 2.5x with Blender 2.6x and some code cleanup.
Thomas Dinges [Sat, 7 Apr 2012 18:39:29 +0000 (18:39 +0000)]
* Replace some more Blender 2.5x with Blender 2.6x and some code cleanup.

9 years agoCollada:
Thomas Dinges [Sat, 7 Apr 2012 18:32:53 +0000 (18:32 +0000)]
* Save "Blender 2.6x" if built without BUILDINFO.

9 years agoScons:
Thomas Dinges [Sat, 7 Apr 2012 18:26:54 +0000 (18:26 +0000)]
* Some code and comment cleanup
* Remove cmake equivalent variable comments
* Remove some non used parameters from config files and btools: WITH_BF_FMOD, BF_VERSION.
* Remove some commented non-used variables

9 years agoDisabling color channels for float images in clip editor now works fine.
Sergey Sharybin [Sat, 7 Apr 2012 16:59:06 +0000 (16:59 +0000)]
Disabling color channels for float images in clip editor now works fine.

9 years agoFixed deadlock on loading file without number group into movie clip editor
Sergey Sharybin [Sat, 7 Apr 2012 16:37:55 +0000 (16:37 +0000)]
Fixed deadlock on loading file without number group into movie clip editor

9 years agofix for passing float to RNA_def_property_ui_range() int argument.
Campbell Barton [Sat, 7 Apr 2012 15:46:26 +0000 (15:46 +0000)]
fix for passing float to RNA_def_property_ui_range() int argument.

9 years agoFix for reconstruction menu which still was using set_floor operator instead of set_plane
Sergey Sharybin [Sat, 7 Apr 2012 15:20:20 +0000 (15:20 +0000)]
Fix for reconstruction menu which still was using set_floor operator instead of set_plane

9 years agoFix [#30851] Mesh Editmode: Specials-menu lost "Subdivide smooth"
Thomas Dinges [Sat, 7 Apr 2012 14:04:52 +0000 (14:04 +0000)]
Fix [#30851] Mesh Editmode: Specials-menu lost "Subdivide smooth"

* Subdivide Smooth was missing in the edit mode specials menu since B-Mesh merge.

9 years agofix for vertex slide not taking object transformation into account.
Campbell Barton [Sat, 7 Apr 2012 13:42:00 +0000 (13:42 +0000)]
fix for vertex slide not taking object transformation into account.

also make the shortcut 'Shift+V'

9 years agocode cleanup: no functional changes
Campbell Barton [Sat, 7 Apr 2012 12:37:15 +0000 (12:37 +0000)]
code cleanup: no functional changes
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead.
- quiet warnings in editmesh_slide.c
- cleanup comments in bmesh and some other minor comment additions.

9 years agoAdded Vertex Slide: Slides a vertex along a selected and connected edge (Shift+Ctrl+V)
Francisco De La Cruz [Sat, 7 Apr 2012 03:15:20 +0000 (03:15 +0000)]
Added Vertex Slide: Slides a vertex along a selected and connected edge (Shift+Ctrl+V)
BMop: "vertslide vert=%e edge=%hfev distance_t=%f"

9 years agodont display any file as a preset in the menu (limit to *.py, *.xml)
Campbell Barton [Sat, 7 Apr 2012 02:19:11 +0000 (02:19 +0000)]
dont display any file as a preset in the menu (limit to *.py, *.xml)

backup files like .py~ for eg had their own menu entries which got annoying.

added optional filter_ext function callback argument to Menu.path_menu() to avoid displaying invalid types.

9 years agoTemporary gzopen fix for for Windows
Alexander Kuznetsov [Fri, 6 Apr 2012 21:11:10 +0000 (21:11 +0000)]
Temporary gzopen fix for for Windows
If we open file for write, we create a new file and close it. Therefore we have existing path for GetShortPathName.

Strangely zlib fails on gzclose if file descriptors are used.

9 years agoFix #30798: when linking a datablock, it got simply added to the back of the
Brecht Van Lommel [Fri, 6 Apr 2012 16:19:30 +0000 (16:19 +0000)]
Fix #30798: when linking a datablock, it got simply added to the back of the
list, now the linked datablocks are sorted by name too (but still appear after
the non-linked datablocks).

9 years agoCycles: fix nan's generated by glossy BSDF in some cases.
Brecht Van Lommel [Fri, 6 Apr 2012 16:08:14 +0000 (16:08 +0000)]
Cycles: fix nan's generated by glossy BSDF in some cases.

9 years agoSmoke: Use better standards for inflow
Daniel Genrich [Fri, 6 Apr 2012 12:50:46 +0000 (12:50 +0000)]
Smoke: Use better standards for inflow
a) Set particle system for inflow to " show unborn"
b) Set particle system for inflow to lifetime = 1

9 years agobmesh minor change - avoid increasing array sizes one by one and use iterator macros.
Campbell Barton [Fri, 6 Apr 2012 11:50:16 +0000 (11:50 +0000)]
bmesh minor change - avoid increasing array sizes one by one and use iterator macros.

9 years agoAnimation version patching for Absolute Shape Keys ("speed" curve ->
Joshua Leung [Fri, 6 Apr 2012 11:45:45 +0000 (11:45 +0000)]
Animation version patching for Absolute Shape Keys ("speed" curve ->
"eval_time") now works

9 years agoFix [#30832] Weight on Bevel modifier has no effect for edges with weight.
Francisco De La Cruz [Fri, 6 Apr 2012 11:24:42 +0000 (11:24 +0000)]
Fix [#30832] Weight on Bevel modifier has no effect for edges with weight.

Added missing CD_BWEIGHT layer for the modifier's DerivedMesh.

9 years agoWindows x64 / Scons:
Thomas Dinges [Fri, 6 Apr 2012 10:57:22 +0000 (10:57 +0000)]
Windows x64 / Scons:
* Enable WITH_BF_OPENJPEG per default, it was enabled for 32 bit systems, why not on x64?
* This brings back JPEG 2000 support for win x64.

9 years agooption to have inset face select the interior faces (mango request)
Campbell Barton [Fri, 6 Apr 2012 10:33:45 +0000 (10:33 +0000)]
option to have inset face select the interior faces (mango request)

9 years agoGhost:
Thomas Dinges [Fri, 6 Apr 2012 10:24:15 +0000 (10:24 +0000)]
* Typo fix, preventing mingw to compile.
Found by XercesBlue in IRC:

9 years agocode cleanup: add doxygen headers to bmesh operator files, also add own include so...
Campbell Barton [Fri, 6 Apr 2012 09:21:19 +0000 (09:21 +0000)]
code cleanup: add doxygen headers to bmesh operator files, also add own include so definitions dont get out of sync.

9 years agosome pedantic load time speedup by not loading modules (math and subprocess in this...
Campbell Barton [Fri, 6 Apr 2012 08:04:31 +0000 (08:04 +0000)]
some pedantic load time speedup by not loading modules (math and subprocess in this case)

9 years agofix crash with stack memory usage for the knife tool.
Campbell Barton [Fri, 6 Apr 2012 06:17:52 +0000 (06:17 +0000)]
fix crash with stack memory usage for the knife tool.
knife cutting ~25000 faces would crash with 8mb stack set.

fix by removing generic iterators in functions which do recursive calls.

9 years agoremove unused theme color
Campbell Barton [Fri, 6 Apr 2012 05:54:13 +0000 (05:54 +0000)]
remove unused theme color

9 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)

9 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.

9 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.

9 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.

9 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.

9 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

9 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.

9 years agoFix #30804: incorrectly disconnected or allowed to connect
Brecht Van Lommel [Thu, 5 Apr 2012 14:17:42 +0000 (14:17 +0000)]
Fix #30804: 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)

9 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.

9 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).

9 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!).

9 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.

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

9 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).

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

9 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.

9 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).

9 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

9 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.

9 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.

9 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)

9 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.

9 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.

9 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.

9 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.

9 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?

9 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)

9 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.

9 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.

9 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.)

9 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.

9 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".

9 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.

9 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...

9 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.

9 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

9 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.

9 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).

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

9 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).

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

9 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.

9 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.

9 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.

9 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.

9 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

9 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).

9 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.

9 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.

9 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

9 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.

9 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).

9 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".

9 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.

9 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.

9 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.

9 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

9 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].

9 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.

9 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

9 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.

9 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.

9 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)

9 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.