blender.git
7 years agoMerging r44227 through r45619 from trunk into soc-2011-tomato
Sergey Sharybin [Sat, 14 Apr 2012 10:46:47 +0000 (10:46 +0000)]
Merging r44227 through r45619 from trunk into soc-2011-tomato

7 years agodon't constrain single edge extrude, annoying for retopo
Campbell Barton [Sat, 14 Apr 2012 05:09:23 +0000 (05:09 +0000)]
don't constrain single edge extrude, annoying for retopo
see: http://www.youtube.com/watch?v=5AzRpFfWR6k

request from ZanQdo, VenomGFX & Jonathan Williams.

For previous functionality Z, Shift+Z.

7 years agocode cleanup: comment (almost) all members of KeyBlock & Key.
Campbell Barton [Sat, 14 Apr 2012 03:58:08 +0000 (03:58 +0000)]
code cleanup: comment (almost) all members of KeyBlock & Key.

7 years agocode cleanup: when extending name length Key.elemstr was incorrectly extended to...
Campbell Barton [Sat, 14 Apr 2012 02:48:56 +0000 (02:48 +0000)]
code cleanup: when extending name length Key.elemstr was incorrectly extended to 64 chars, added comment and set back to original length.

7 years agostyle cleanup: key.c
Campbell Barton [Sat, 14 Apr 2012 02:32:32 +0000 (02:32 +0000)]
style cleanup: key.c

7 years agoGrmph, BLF_(p)gettext were not protected against NULL message/context, was causing...
Bastien Montagne [Fri, 13 Apr 2012 20:58:59 +0000 (20:58 +0000)]
Grmph, BLF_(p)gettext were not protected against NULL message/context, was causing a sigsev with latest own commits (in File menu)!

7 years agoi18n: "labels" of multi-section enums need to be marked for gettext (N_()), as they...
Bastien Montagne [Fri, 13 Apr 2012 20:25:05 +0000 (20:25 +0000)]
i18n: "labels" of multi-section enums need to be marked for gettext (N_()), as they are not available from python...

7 years agoFixed (or partly fixed) various missing UI translations, mainly with some specific...
Bastien Montagne [Fri, 13 Apr 2012 19:59:29 +0000 (19:59 +0000)]
Fixed (or partly fixed) various missing UI translations, mainly with some specific ops invocations (popup menus…), and (to some extent) with the undo/redo stuff.

7 years agoScons:
Thomas Dinges [Fri, 13 Apr 2012 19:34:15 +0000 (19:34 +0000)]
Scons:
* Compile fix for r45609, pthreads include was missing.

7 years agoFix #30376: cycles ignores camera override from sequencer.
Brecht Van Lommel [Fri, 13 Apr 2012 17:42:03 +0000 (17:42 +0000)]
Fix #30376: cycles ignores camera override from sequencer.

7 years agoFix #30858: UI losing buttons at some random moment after using Blender for a
Brecht Van Lommel [Fri, 13 Apr 2012 16:03:52 +0000 (16:03 +0000)]
Fix #30858: UI losing buttons at some random moment after using Blender for a
while. This may not fix all cases but should at least solve the issue when
rendering with cycles.

The cause was a race condition on C->data.recursion, with multiple threads
accessing context at the same time. Cycles itself does not access context
from the render thread, but the bpy api would do a context update for any
callback in case e.g. a new file got loaded. Disabled that now in non-main
threads.

The ideal solution would be to not allow any context access at all from threads
but that's not so simple to implement, especially not this close to release.

7 years agoremove duplicate notifier event
Antony Riakiotakis [Fri, 13 Apr 2012 15:33:29 +0000 (15:33 +0000)]
remove duplicate notifier event

7 years agoDo not hide (gray out) lens/lock to object/lock to cursor options in Quad views ...
Bastien Montagne [Fri, 13 Apr 2012 15:21:26 +0000 (15:21 +0000)]
Do not hide (gray out) lens/lock to object/lock to cursor options in Quad views (View panel)...

7 years agofix [#30728] Align View Restricts Further View Changes
Campbell Barton [Fri, 13 Apr 2012 15:15:13 +0000 (15:15 +0000)]
fix [#30728] Align View Restricts Further View Changes

turntable rotation can get into gimbal lock.

7 years agoFix missing cycles update when tweaking some render layer settings.
Brecht Van Lommel [Fri, 13 Apr 2012 14:18:33 +0000 (14:18 +0000)]
Fix missing cycles update when tweaking some render layer settings.

7 years agocode cleanup: use axis_angle_to_quat() to simplify turntable view rotate code.
Campbell Barton [Fri, 13 Apr 2012 13:55:55 +0000 (13:55 +0000)]
code cleanup: use axis_angle_to_quat() to simplify turntable view rotate code.

7 years agofix for editmode UV hiding with edges, was also using deprecated flag (UV_SELECT_FACE)
Campbell Barton [Fri, 13 Apr 2012 13:31:41 +0000 (13:31 +0000)]
fix for editmode UV hiding with edges, was also using deprecated flag (UV_SELECT_FACE)

7 years agoCycles: add render layer use environment option to disable world lighting on
Brecht Van Lommel [Fri, 13 Apr 2012 12:58:12 +0000 (12:58 +0000)]
Cycles: add render layer use environment option to disable world lighting on
individual render layers.

7 years agoFix own typo in previous commit for dupligroup offset
Sergey Sharybin [Fri, 13 Apr 2012 12:51:26 +0000 (12:51 +0000)]
Fix own typo in previous commit for dupligroup offset

7 years agoIncrease limit for game simulation steps to 50, made it hard limit.
Sergey Sharybin [Fri, 13 Apr 2012 12:45:44 +0000 (12:45 +0000)]
Increase limit for game simulation steps to 50, made it hard limit.
Soft limit is still 5, so should be pretty safe even if it's not
supported well in all cases.

7 years agoMove "From Cursor" operator which sets dupli group offset to own operator
Sergey Sharybin [Fri, 13 Apr 2012 12:14:20 +0000 (12:14 +0000)]
Move "From Cursor" operator which sets dupli group offset to own operator

Previously it used to use cursor location from time when panel was drawn,
which in some cases lead to using previous cursor location instead of current.

7 years agoFix #30876, #30932: crash in material preview render after undo or file load,
Brecht Van Lommel [Fri, 13 Apr 2012 12:12:54 +0000 (12:12 +0000)]
Fix #30876, #30932: crash in material preview render after undo or file load,
due to old material copies hanging around in the preview database.

This crash happened pretty randomly, but was especially noticeable when using
node groups.

7 years agoNode Editor / Properties Region:
Thomas Dinges [Fri, 13 Apr 2012 11:58:16 +0000 (11:58 +0000)]
Node Editor / Properties Region:
* Improved checks for Grease Pencil and Active Node panel, so the panel only gets shown when there is valid data, rather than showing the empty panel.

Thanks to Lukas Tönne for some help! :)

7 years agofix [#30936] Face Inset gives bad UV's
Campbell Barton [Fri, 13 Apr 2012 10:37:33 +0000 (10:37 +0000)]
fix [#30936] Face Inset gives bad UV's

7 years agoFix related to #30928: missing image editor update when changing active image
Brecht Van Lommel [Fri, 13 Apr 2012 09:31:37 +0000 (09:31 +0000)]
Fix related to #30928: missing image editor update when changing active image
texture node.

7 years agofix [#30925] successful import of keyconfig dependant on current object context?
Campbell Barton [Fri, 13 Apr 2012 09:25:50 +0000 (09:25 +0000)]
fix [#30925] successful import of keyconfig dependant on current object context?

revert r34885,

The hack was to fix poselib UI but is REALLY BAD - don't modify properties when accessing them.

This bug must be fixed some other way.

7 years agoFix part of #30934: save as image in image editor did not set proper defaults
Brecht Van Lommel [Fri, 13 Apr 2012 09:20:59 +0000 (09:20 +0000)]
Fix part of #30934: save as image in image editor did not set proper defaults
for options like compression.

7 years agoFix #30929: cycles rendering of object with scale 0 on some axis did not work
Brecht Van Lommel [Fri, 13 Apr 2012 09:08:43 +0000 (09:08 +0000)]
Fix #30929: cycles rendering of object with scale 0 on some axis did not work
correct with instancing.

Actually such object will not work in many places, e.g. transforming vertices
in edit mode doesn't work and textures will be misapplied in Blender Internal,
so these should be avoided.

7 years agobmesh todo: vertex dirtmap now working again.
Campbell Barton [Fri, 13 Apr 2012 08:41:30 +0000 (08:41 +0000)]
bmesh todo: vertex dirtmap now working again.

also renamed Polygon helper property from 'loops' to loop_indices

7 years ago- startup.blend's temp dir was pointing to sergeys user dir, now point to /tmp
Campbell Barton [Fri, 13 Apr 2012 08:18:54 +0000 (08:18 +0000)]
- startup.blend's temp dir was pointing to sergeys user dir, now point to /tmp
- fix error in ctodata.py (was adding dummy bit)
- make UV hide from last commit more readable.

7 years agoset executable option and some minor changes to ctodata/datatoc
Campbell Barton [Fri, 13 Apr 2012 07:49:59 +0000 (07:49 +0000)]
set executable option and some minor changes to ctodata/datatoc

7 years agofix [#30923] Hide Unselected in the UV/Image editor does nothing
Campbell Barton [Fri, 13 Apr 2012 07:18:26 +0000 (07:18 +0000)]
fix [#30923] Hide Unselected in the UV/Image editor does nothing

7 years agobmesh - UV editor: check if faces are visible before hiding them (was done before...
Campbell Barton [Fri, 13 Apr 2012 06:54:37 +0000 (06:54 +0000)]
bmesh - UV editor: check if faces are visible before hiding them (was done before bmesh merge).

7 years agostyle cleanup: uv editor
Campbell Barton [Fri, 13 Apr 2012 06:33:59 +0000 (06:33 +0000)]
style cleanup: uv editor

7 years agoFix loading external MDisps, BMesh merge bug.
Nicholas Bishop [Fri, 13 Apr 2012 05:39:27 +0000 (05:39 +0000)]
Fix loading external MDisps, BMesh merge bug.

* When converting mfaces to mpolys, load external MDisp data in, add
  CustomDataExternal struct to loopdata if needed.

* Fix multires modifier's filepath RNA functions to use ldata rather
  than fdata.

7 years agobmesh api changes:
Campbell Barton [Fri, 13 Apr 2012 04:02:26 +0000 (04:02 +0000)]
bmesh api changes:
- remove recently added BM_mesh_select_flush_strip(), functions purpose wasn't clear.
- add BM_mesh_elem_hflag_disable_test(), BM_mesh_elem_hflag_enable_test()
  to match existing BM_mesh_elem_hflag_enable/disable_all(), these take a hflag to test before editing each element.
  This replaces the need for BM_mesh_select_flush_strip().

7 years agofix for UV reveal (wasnt selecting all verts because check for unselected vert was...
Campbell Barton [Fri, 13 Apr 2012 03:41:07 +0000 (03:41 +0000)]
fix for UV reveal (wasnt selecting all verts because check for unselected vert was incorrect after selecting the first face).

7 years agoCode cleanup:
Thomas Dinges [Fri, 13 Apr 2012 00:04:56 +0000 (00:04 +0000)]
Code cleanup:
* Remove some non used *_button_register functions, panels are done in python.
* Remove do_node_region_buttons, was not used anymore.

Fix:
* Only show Grease Pencil panel in the Node editor, when there is a valid nodetree.

7 years agoFix part of #30917: solid + glsl + textured solid in texture paint mode did not
Brecht Van Lommel [Thu, 12 Apr 2012 17:34:29 +0000 (17:34 +0000)]
Fix part of #30917: solid + glsl + textured solid in texture paint mode did not
show textured solid as it should, was using glsl instead.

7 years agoFix related to #30917: wrong colors in cycles textured draw mode in some cases,
Brecht Van Lommel [Thu, 12 Apr 2012 15:23:34 +0000 (15:23 +0000)]
Fix related to #30917: wrong colors in cycles textured draw mode in some cases,
missed call to glColorMaterial made glEnable(GL_COLOR_MATERIAL) behavior
undefined.

7 years agoimprove mesh error prints and quiet a print in mesh_ensure_tessellation_customdata...
Campbell Barton [Thu, 12 Apr 2012 14:36:57 +0000 (14:36 +0000)]
improve mesh error prints and quiet a print in mesh_ensure_tessellation_customdata() which happened too often.

7 years agoScons / Windows release build configs:
Thomas Dinges [Thu, 12 Apr 2012 13:58:16 +0000 (13:58 +0000)]
Scons / Windows release build configs:
* Enable CUDA per default, only thing the builder has to do for release libs, is to specify BF_CYCLES_CUDA_NVCC.

7 years agoFix #30919: Selection of multiple objects after EDIT MODE with MAYA PRESETS Keymap
Sergey Sharybin [Thu, 12 Apr 2012 13:33:19 +0000 (13:33 +0000)]
Fix #30919: Selection of multiple objects after EDIT MODE with MAYA PRESETS Keymap

Issue was caused by operator presets.

7 years agoFix: subsurf UV was not working correct with n-gons, it still had hardcoded
Brecht Van Lommel [Thu, 12 Apr 2012 12:23:25 +0000 (12:23 +0000)]
Fix: subsurf UV was not working correct with n-gons, it still had hardcoded
4 vertices per face code in some places.

7 years agoMinor code cleanup: Don't reference previous BMwEdgeringWalker after BMW_state_remove...
Antony Riakiotakis [Thu, 12 Apr 2012 12:11:21 +0000 (12:11 +0000)]
Minor code cleanup: Don't reference previous BMwEdgeringWalker after BMW_state_remove. Its memory is freed on that call.

7 years agoFix: loopcut didn't stop on hidden faces
Antony Riakiotakis [Thu, 12 Apr 2012 12:03:12 +0000 (12:03 +0000)]
Fix: loopcut didn't stop on hidden faces

7 years agocode cleanup: remove unused KeyBlock.adrcode
Campbell Barton [Thu, 12 Apr 2012 11:50:43 +0000 (11:50 +0000)]
code cleanup: remove unused KeyBlock.adrcode

7 years agoFix: cycles not using local 3d view camera when it is decoupled from the scene.
Brecht Van Lommel [Thu, 12 Apr 2012 11:42:18 +0000 (11:42 +0000)]
Fix: cycles not using local 3d view camera when it is decoupled from the scene.

7 years agolibmv: bundle new upstream version from own branch with rigid registration implementation
Sergey Sharybin [Thu, 12 Apr 2012 11:37:51 +0000 (11:37 +0000)]
libmv: bundle new upstream version from own branch with rigid registration implementation

Currently not used in blender code but is needed for some current work.

7 years agobmesh shape key conversion.
Campbell Barton [Thu, 12 Apr 2012 11:27:50 +0000 (11:27 +0000)]
bmesh shape key conversion.
- remove print for impossible error.
- add NULL check incase bmesh and mesh get out of sync (would crash if Basis key-block couldn't be found).

7 years agobmesh exit editmode: when a mesh shape-key customdata layer exists but the shape...
Campbell Barton [Thu, 12 Apr 2012 11:11:31 +0000 (11:11 +0000)]
bmesh exit editmode: when a mesh shape-key customdata layer exists but the shape-key-block isnt found, creating a shape key was allocated and inline - it didnt set the name or uid, Now use add_keyblock() as every other function does.

7 years agochange add_keyblock() not to sort keyblocks by time since this can be a problem when...
Campbell Barton [Thu, 12 Apr 2012 11:05:16 +0000 (11:05 +0000)]
change add_keyblock() not to sort keyblocks by time since this can be a problem when using the function in lower level parts of the code, instead add add_keyblock_ctime() which sets time and sorts on absolute shape keys.

7 years agoadd in a check for Mingw so 4.5 or older will error out on build.
Campbell Barton [Thu, 12 Apr 2012 09:10:10 +0000 (09:10 +0000)]
add in a check for Mingw so 4.5 or older will error out on build.

7 years agoTook out OpenMP refactor out by mistake
Antony Riakiotakis [Thu, 12 Apr 2012 08:45:26 +0000 (08:45 +0000)]
Took out OpenMP refactor out by mistake

7 years agoRevert changes that disable features on MinGW.
Antony Riakiotakis [Thu, 12 Apr 2012 08:36:07 +0000 (08:36 +0000)]
Revert changes that disable features on MinGW.

To compile on MinGW it is important to have the latest MinGW (gcc 4.6.2)

I have updated the instructions on the wiki to reflect this:  http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows/Environment

7 years agofix [#30907] Inset tool with Select Outer disabled does not allow translation of...
Campbell Barton [Thu, 12 Apr 2012 07:40:47 +0000 (07:40 +0000)]
fix [#30907] Inset tool with Select Outer disabled does not allow translation of new faces

inset with select-inner faces gave invalid selection.

also correct spelling in some comments.

7 years agodoxygen docs explaining whats going on with shape-key conversion.
Campbell Barton [Thu, 12 Apr 2012 06:52:50 +0000 (06:52 +0000)]
doxygen docs explaining whats going on with shape-key conversion.

7 years agocmake/mingw now builds with default configuration (needed to disable tiff/exr/cycles)
Campbell Barton [Thu, 12 Apr 2012 05:34:17 +0000 (05:34 +0000)]
cmake/mingw now builds with default configuration (needed to disable tiff/exr/cycles)

7 years agocode cleanup: remove duplicate define on windows.
Campbell Barton [Thu, 12 Apr 2012 03:10:36 +0000 (03:10 +0000)]
code cleanup: remove duplicate define on windows.

7 years agocode cleanup: quiet some mingw warnings.
Campbell Barton [Thu, 12 Apr 2012 02:50:21 +0000 (02:50 +0000)]
code cleanup: quiet some mingw warnings.

7 years agocode cleanup: avoid confusion with utfconv lib - was configuring this windows only...
Campbell Barton [Thu, 12 Apr 2012 02:37:28 +0000 (02:37 +0000)]
code cleanup: avoid confusion with utfconv lib - was configuring this windows only lib on non windows platforms (scons only).

7 years agocode cleanup: utfconv library had some quite confusing formatting, also cleared som...
Campbell Barton [Thu, 12 Apr 2012 02:15:33 +0000 (02:15 +0000)]
code cleanup: utfconv library had some quite confusing formatting, also cleared som warnings.

7 years agocode cleanup: remove unused var for windows and style edit (remove spaces between...
Campbell Barton [Thu, 12 Apr 2012 00:15:02 +0000 (00:15 +0000)]
code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]')

7 years agofix [#30771] Shapekeys: Basis shapekey is not kept in sync with "RealMesh"
Campbell Barton [Wed, 11 Apr 2012 15:59:50 +0000 (15:59 +0000)]
fix [#30771] Shapekeys: Basis shapekey is not kept in sync with "RealMesh"

behave the same as in 2.4x.

- merge BMesh / Pre-BMesh code shape key conversion code, old code was called as a fallback but merge instead.
- fix possible crash - new bmesh code was clamping the vertex index for the oldverts array by the new total number of verts.

7 years agobmesh shape key conversion on exiting editmode.
Campbell Barton [Wed, 11 Apr 2012 15:24:13 +0000 (15:24 +0000)]
bmesh shape key conversion on exiting editmode.

there were 2 blocks of code (both calculating the offset array), now move the fallback method into the main key conversions block.

7 years agobmesh exit editmode shape key conversion - split out 'keyblock --> customdata layer...
Campbell Barton [Wed, 11 Apr 2012 14:59:35 +0000 (14:59 +0000)]
bmesh exit editmode shape key conversion - split out 'keyblock --> customdata layer index' into its own function, makes code easier to follow.

7 years agobmesh shape key conversion when exiting editmode.
Campbell Barton [Wed, 11 Apr 2012 14:42:44 +0000 (14:42 +0000)]
bmesh shape key conversion when exiting editmode.
- avoid running old conversion code if its not needed.
- de-duplicate functionality which gets offsets from edits made in editmode.

7 years agolibmv: bundle new upstream version from own branch which should support
Sergey Sharybin [Wed, 11 Apr 2012 13:51:37 +0000 (13:51 +0000)]
libmv: bundle new upstream version from own branch which should support
compilation of glog on hurd platform.

7 years agoGame engine: pass string length to BLI_str_cursor_step_prev_utf8 rather than NULL
Sergey Sharybin [Wed, 11 Apr 2012 13:17:13 +0000 (13:17 +0000)]
Game engine: pass string length to BLI_str_cursor_step_prev_utf8 rather than NULL

That's what this function expect (but somehow does not use) and it gave compilation
error when using gcc-4.6.3 from debian linux.

7 years agowrite mesh selection history to the blend file. without this active edge/vert are...
Campbell Barton [Wed, 11 Apr 2012 11:52:21 +0000 (11:52 +0000)]
write mesh selection history to the blend file. without this active edge/vert are lost on UNDO.

7 years agocode cleanup: mselect conversion when creating a bmesh from a bmesh was overly verbose.
Campbell Barton [Wed, 11 Apr 2012 11:22:19 +0000 (11:22 +0000)]
code cleanup: mselect conversion when creating a bmesh from a bmesh was overly verbose.

7 years agopy rna/api: fix for error running RNA_property_collection_type_get on non collection...
Campbell Barton [Wed, 11 Apr 2012 10:35:09 +0000 (10:35 +0000)]
py rna/api: fix for error running RNA_property_collection_type_get on non collection property types.

7 years agoFix cycles opencl compile issue, fminf/fmaxf() was defined both as macro and function.
Brecht Van Lommel [Wed, 11 Apr 2012 09:07:28 +0000 (09:07 +0000)]
Fix cycles opencl compile issue, fminf/fmaxf() was defined both as macro and function.

7 years agoFix #30896: cycles mask layer not working for objects without material assigned.
Brecht Van Lommel [Wed, 11 Apr 2012 08:57:54 +0000 (08:57 +0000)]
Fix #30896: cycles mask layer not working for objects without material assigned.

7 years agofix [#30906] dict(prop) crashes if prop is a PropertyGroup with nested PropertyGroup
Campbell Barton [Wed, 11 Apr 2012 08:37:48 +0000 (08:37 +0000)]
fix [#30906] dict(prop) crashes if prop is a PropertyGroup with nested PropertyGroup

the ID of a python ID property can be NULL.

7 years agoFix #30895: uv editor snap selected to adjacent unselected not working correctly,
Brecht Van Lommel [Wed, 11 Apr 2012 08:37:38 +0000 (08:37 +0000)]
Fix #30895: uv editor snap selected to adjacent unselected not working correctly,
was apply to unselected uvs too.

7 years agoFix #30900: when opengl offscreen render failed, the wait cursor would incorrectly
Brecht Van Lommel [Wed, 11 Apr 2012 08:27:07 +0000 (08:27 +0000)]
Fix #30900: when opengl offscreen render failed, the wait cursor would incorrectly
stay visible. Patch by Justin Dailey.

7 years agoupdate for changes in the py api
Campbell Barton [Wed, 11 Apr 2012 08:22:31 +0000 (08:22 +0000)]
update for changes in the py api

7 years agocode cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
Campbell Barton [Wed, 11 Apr 2012 08:15:13 +0000 (08:15 +0000)]
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)

7 years agofix [#30897] UVEditor: Snap Cursor to Selected
Campbell Barton [Wed, 11 Apr 2012 07:47:09 +0000 (07:47 +0000)]
fix [#30897] UVEditor: Snap Cursor to Selected
was writing the 3rd component of a 2D vector.

7 years agoFix #30904: MovieClip.objects.new() segfault when no name is passed
Sergey Sharybin [Wed, 11 Apr 2012 07:35:04 +0000 (07:35 +0000)]
Fix #30904: MovieClip.objects.new() segfault when no name is passed

Made name property required for new().

7 years agoFix #30664: Texturepaint color does not match texture color (3D View vs UV/Image...
Sergey Sharybin [Tue, 10 Apr 2012 19:27:02 +0000 (19:27 +0000)]
Fix #30664: Texturepaint color does not match texture color (3D View vs UV/Image Editor)

Another regression since bmesh merge which was caused getting CD_MTFACE from
polys datablock instead of face datablock.

7 years agoSmoke: Fix for some non animated properties
Daniel Genrich [Tue, 10 Apr 2012 17:45:25 +0000 (17:45 +0000)]
Smoke: Fix for some non animated properties

7 years agoFix for recent commit that changed normal display buttons to use icons, the
Brecht Van Lommel [Tue, 10 Apr 2012 17:01:35 +0000 (17:01 +0000)]
Fix for recent commit that changed normal display buttons to use icons, the
vertex/face icons were swapped.

7 years agoFix #30698: python console nodetree paths were not accurate, now show ... like
Brecht Van Lommel [Tue, 10 Apr 2012 16:37:05 +0000 (16:37 +0000)]
Fix #30698: python console nodetree paths were not accurate, now show ... like
in some other cases to at least show these are not accurate.

7 years agoFix #30874: Single texture display in Edit Mode
Sergey Sharybin [Tue, 10 Apr 2012 16:28:26 +0000 (16:28 +0000)]
Fix #30874: Single texture display in Edit Mode

It was a regression since 2.62 caused by how texface is passing to drawParamsMapped
Previously it was used from CD layer but now it's getting copied from MexPoly
into a variable allocated in stack for function void emDM_drawFacesTex_common.

To set texture needed to draw particular face function set_draw_settings_cached
is used, which tries to not to copy texture into GPU when it's not needed (for
example, when drawing bunch of faces with the same texture) and one of condition
if texture should be updated in GPU was comparing address of texface passed to
this function and cached texface. But this address are exactly the sane and
points to a memory inside stack of emDM_drawFacesTex_common.

Fixed by cacheing texface content, not it's address.

7 years agoFix #30892: File > New is easy to hit accidentally, now it asks for confirmation.
Brecht Van Lommel [Tue, 10 Apr 2012 15:56:33 +0000 (15:56 +0000)]
Fix #30892: File > New is easy to hit accidentally, now it asks for confirmation.

7 years agoFix #30850: bevel tool only works on edges but tooltip indicated it worked on
Brecht Van Lommel [Tue, 10 Apr 2012 15:51:22 +0000 (15:51 +0000)]
Fix #30850: bevel tool only works on edges but tooltip indicated it worked on
vertices too, fixed tooltip. Also add bevel to edge menu since it works edge
based.

7 years agoFix properties editor, right click menu "Copy to Selected" not working for
Brecht Van Lommel [Tue, 10 Apr 2012 15:49:41 +0000 (15:49 +0000)]
Fix properties editor, right click menu "Copy to Selected" not working for
object modifier/constraint/physics properties. Now uses RNA path rather than
only properties on the object itself.

7 years agoCode cleanup: remove a bunch of unused code from this file.
Brecht Van Lommel [Tue, 10 Apr 2012 15:47:34 +0000 (15:47 +0000)]
Code cleanup: remove a bunch of unused code from this file.

7 years agoFix #30754: motion blur shutter was animateable while this is actually not
Brecht Van Lommel [Tue, 10 Apr 2012 15:43:42 +0000 (15:43 +0000)]
Fix #30754: motion blur shutter was animateable while this is actually not
supported.

7 years agomango request: option to draw background in front of all objects in the viewport.
Sergey Sharybin [Tue, 10 Apr 2012 14:59:06 +0000 (14:59 +0000)]
mango request: option to draw background in front of all objects in the viewport.
Should be really handy for painting clean plates.

7 years agoFix #30875: active uv texture layer not synced properly when switching from
Brecht Van Lommel [Tue, 10 Apr 2012 14:58:21 +0000 (14:58 +0000)]
Fix #30875: active uv texture layer not synced properly when switching from
edit to object mode.

7 years agoFix #30882: using an image sequence in the displace modifier did not update
Brecht Van Lommel [Tue, 10 Apr 2012 14:11:45 +0000 (14:11 +0000)]
Fix #30882: using an image sequence in the displace modifier did not update
properly in animation rendering.

7 years agoFix #30879: uv editor hide did not work with the mesh in vertex/edge select
Brecht Van Lommel [Tue, 10 Apr 2012 13:19:16 +0000 (13:19 +0000)]
Fix #30879: uv editor hide did not work with the mesh in vertex/edge select
mode, selection was not flushed down to faces.

7 years agofix [#30839] Blender crashes while open/close a scene and deletes .blend-file
Campbell Barton [Tue, 10 Apr 2012 13:10:44 +0000 (13:10 +0000)]
fix [#30839] Blender crashes while open/close a scene and deletes .blend-file

7 years agofix for too small MATHUTILS_TOT_CB when the game engine runs.
Campbell Barton [Tue, 10 Apr 2012 12:35:15 +0000 (12:35 +0000)]
fix for too small MATHUTILS_TOT_CB when the game engine runs.

7 years agouse space more efficiently for normal mesh panel buttons (icons for face/vert normal)
Campbell Barton [Tue, 10 Apr 2012 11:36:19 +0000 (11:36 +0000)]
use space more efficiently for normal mesh panel buttons (icons for face/vert normal)

7 years agoFix related to #30859: bmesh face splitting would set the first loop of the new
Joseph Eagar [Tue, 10 Apr 2012 11:07:02 +0000 (11:07 +0000)]
Fix related to #30859: bmesh face splitting would set the first loop of the new
faces to a loop quite different than the original first loop. This makes e.g.
duplifaces give rotated results after subdivide or loopcut.

Now it tries to find a first loop that is similar to the old one, to try to keep
the rotations the same.

7 years agoFix #30843: Blender Game in Metric Mode allows only a 10m Radius for Collision Bounds.
Sergey Sharybin [Tue, 10 Apr 2012 10:35:55 +0000 (10:35 +0000)]
Fix #30843: Blender Game in Metric Mode allows only a 10m Radius for Collision Bounds.

Now use soft limit of 0.01 .. 10.0 for radius but hard limit is 0.01 .. FLT_MAX