9 years agoFix for remesh modifier crash mentioned in comments of bug [#30966]
Nicholas Bishop [Mon, 16 Apr 2012 01:18:02 +0000 (01:18 +0000)]
Fix for remesh modifier crash mentioned in comments of bug [#30966]

Reading in triangles now skips any NaN coordinates.

9 years agoUI:
Thomas Dinges [Sun, 15 Apr 2012 21:10:14 +0000 (21:10 +0000)]
* Remove un-descriptive Tooltip from Cloth preset menu.

9 years agoFluid Simulation:
Thomas Dinges [Sun, 15 Apr 2012 21:02:08 +0000 (21:02 +0000)]
Fluid Simulation:
* Replaced the hard coded viscosity presets with Python ones.

* Added version check, so older files load fine.
Loading new files into 2.62 also works fine.

9 years agoFix [#30943] Crash when edge mode enabled and use the bmesh vertex slide(shift-V)
Francisco De La Cruz [Sun, 15 Apr 2012 18:34:13 +0000 (18:34 +0000)]
Fix [#30943] Crash when edge mode enabled and use the bmesh vertex slide(shift-V)

Also fixed snapping sensitivity. Gave BMOp a more consistent name "vertex_slide".

9 years agoFix #30955: cycles render issue with lights that have shadow casting disabled.
Brecht Van Lommel [Sun, 15 Apr 2012 15:35:09 +0000 (15:35 +0000)]
Fix #30955: cycles render issue with lights that have shadow casting disabled.

9 years agoadd 'idprop' module so we can document idprop.types.*, currently doc generator has...
Campbell Barton [Sun, 15 Apr 2012 14:54:15 +0000 (14:54 +0000)]
add 'idprop' module so we can document idprop.types.*, currently doc generator has no access to ID Property types.

9 years agoFix bug [#30953] Changing brush preset irreversibly undoes things
Nicholas Bishop [Sun, 15 Apr 2012 14:54:01 +0000 (14:54 +0000)]
Fix bug [#30953] Changing brush preset irreversibly undoes things

Remove REGISTER/UNDO flags from brush preset operator.

9 years agocode cleanup: minor edits, use function for getting console module.
Campbell Barton [Sun, 15 Apr 2012 14:51:37 +0000 (14:51 +0000)]
code cleanup: minor edits, use function for getting console module.

9 years agofix [#30956] Unwrapping, Lightmap Pack broken
Campbell Barton [Sun, 15 Apr 2012 14:14:15 +0000 (14:14 +0000)]
fix [#30956] Unwrapping, Lightmap Pack broken

9 years agoStyle cleanup (mostly line length, also no final point in tips...).
Bastien Montagne [Sun, 15 Apr 2012 13:41:07 +0000 (13:41 +0000)]
Style cleanup (mostly line length, also no final point in tips...).

9 years agoBGE bug #30555: crash in Replace Mesh when physics shape is triangle mesh and new...
Benoit Bolsee [Sun, 15 Apr 2012 12:49:34 +0000 (12:49 +0000)]
BGE bug #30555: crash in Replace Mesh when physics shape is triangle mesh and new mesh has no collision faces. The fix consists in keeping the previous physics shape, which is not quite correct, but the situation is unusual anyway.

9 years agoBGE bug #30515: Sensor physics mode missing UI for use_actor option. This option...
Benoit Bolsee [Sun, 15 Apr 2012 11:47:08 +0000 (11:47 +0000)]
BGE bug #30515: Sensor physics mode missing UI for use_actor option. This option tells whether the sensor object is only affected by objects that have the Actor option on or any object. The option was missing from the UI.

9 years agoBugfix [#30954] Fluid obstacle checkbox has no effect
Daniel Genrich [Sun, 15 Apr 2012 10:31:38 +0000 (10:31 +0000)]
Bugfix [#30954] Fluid obstacle checkbox has no effect

Needs testing for sideeffects.

If there are negative sideeffects, revert commit and mark as "will not fix"/"not supported"/"needs UI fix".

9 years agoFix #30952: uv unwrapper not working as well as 2.62 on some topologies, let the
Brecht Van Lommel [Sun, 15 Apr 2012 10:31:07 +0000 (10:31 +0000)]
Fix #30952: uv unwrapper not working as well as 2.62 on some topologies, let the
unwrapper itself decide how to split quads since it has specific checks for the
best unwrapping split built in, gives better results.

9 years agomake ngon_perimeter into a public api function and expose to python.
Campbell Barton [Sun, 15 Apr 2012 10:09:27 +0000 (10:09 +0000)]
make ngon_perimeter into a public api function and expose to python.

9 years agoFix #30960: various mesh operators were missing tooltip descriptions.
Brecht Van Lommel [Sun, 15 Apr 2012 10:07:57 +0000 (10:07 +0000)]
Fix #30960: various mesh operators were missing tooltip descriptions.

9 years agoTweak knife/unwrap tesselation code a bit, it uses a random offset, now also
Brecht Van Lommel [Sun, 15 Apr 2012 10:06:36 +0000 (10:06 +0000)]
Tweak knife/unwrap tesselation code a bit, it uses a random offset, now also
seed the random number generator to at least make these operator repeatable.

I don't know why it is using random numbers at all, we should really not be
doing this in my opinion, but I don't understand why it's being done so won't
remove it.

9 years agofix incorrect use of PLATFORM_DEFAULT with cmake
Campbell Barton [Sun, 15 Apr 2012 09:51:30 +0000 (09:51 +0000)]
fix incorrect use of PLATFORM_DEFAULT with cmake

9 years agoFix [#30959] "undocumented operator" tooltip for Collada im- and export
Thomas Dinges [Sun, 15 Apr 2012 09:39:51 +0000 (09:39 +0000)]
Fix [#30959] "undocumented operator" tooltip for Collada im- and export

* Also change UI name for ColorRamp node in rna_nodetree_types.h (Had a different name than in the actual UI)

9 years agoqtcreator/netbeans generators: fix for error getting project info when svn isnt found...
Campbell Barton [Sun, 15 Apr 2012 09:34:57 +0000 (09:34 +0000)]
qtcreator/netbeans generators: fix for error getting project info when svn isnt found (common on windows)

9 years agoFix #30949: live unwrap when marking seams did not work with bmesh.
Brecht Van Lommel [Sun, 15 Apr 2012 09:20:42 +0000 (09:20 +0000)]
Fix #30949: live unwrap when marking seams did not work with bmesh.

9 years agoFix #30948: add scene > copy settings did not copy settings like units, audio, game
Brecht Van Lommel [Sun, 15 Apr 2012 08:48:11 +0000 (08:48 +0000)]
Fix #30948: add scene > copy settings did not copy settings like units, audio, game
data, and tool settings.

What exactly should be copied is a bit up to interpretation, but I think these make
sense, and things like audio or game data used to be part of render settings which
do get copied so at least for those it was a regression.

9 years agocode cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some...
Campbell Barton [Sun, 15 Apr 2012 07:54:07 +0000 (07:54 +0000)]
code cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some defines/includes for windows.

9 years agodisallow invalid mingw configurations, not just disable by default but disallow the...
Campbell Barton [Sun, 15 Apr 2012 07:32:56 +0000 (07:32 +0000)]
disallow invalid mingw configurations, not just disable by default but disallow the built to run if they are set by the developer.

9 years agostyle cleanup: for loop macros, also add a config file for uncrustify source formatte...
Campbell Barton [Sun, 15 Apr 2012 07:24:14 +0000 (07:24 +0000)]
style cleanup: for loop macros, also add a config file for uncrustify source formatter (able to get very close to our own style guide).

9 years agoScons:
Thomas Dinges [Sat, 14 Apr 2012 22:33:48 +0000 (22:33 +0000)]
* Add new scons options to 'blenderlite' target

* Remove ancient yafray comment

9 years agoHrm...parse error from previous commit
Antony Riakiotakis [Sat, 14 Apr 2012 22:21:50 +0000 (22:21 +0000)]
Hrm...parse error from previous commit

9 years agoScons ToDo:
Thomas Dinges [Sat, 14 Apr 2012 22:19:29 +0000 (22:19 +0000)]
Scons ToDo:
* Made Frameserver building optional, added WITH_BF_FRAMESERVER.
* Enabled per default in

9 years agoScons ToDo:
Thomas Dinges [Sat, 14 Apr 2012 21:55:38 +0000 (21:55 +0000)]
Scons ToDo:
* Made Smoke building optional, added WITH_BF_SMOKE.
* Enabled per default in

9 years agoBlender Internal:
Thomas Dinges [Sat, 14 Apr 2012 21:48:34 +0000 (21:48 +0000)]
Blender Internal:
* Remove some remaining (already commented) radiosity cruft.

9 years agoFix linking issue with MinGW. For some reason ffmpeg needs to be enabled. Some kind...
Antony Riakiotakis [Sat, 14 Apr 2012 21:26:50 +0000 (21:26 +0000)]
Fix linking issue with MinGW. For some reason ffmpeg needs to be enabled. Some kind of bizarre linking order issue seems to be the case but since it touches so many areas of the code I prefer to simply enable by default.

9 years agoFluidsim: Text fix.
Daniel Genrich [Sat, 14 Apr 2012 20:35:39 +0000 (20:35 +0000)]
Fluidsim: Text fix.

9 years agoFluidsim:
Daniel Genrich [Sat, 14 Apr 2012 20:24:12 +0000 (20:24 +0000)]
a) Remove "animatable" flag from resolution property
b) "Hide fluid surface": Add description and changed prperty name. Nobody really understood the purpose of that checkbox.

9 years agoRevert rename of ColorRamp node from r45629.
Thomas Dinges [Sat, 14 Apr 2012 18:05:44 +0000 (18:05 +0000)]
Revert rename of ColorRamp node from r45629.

Don't make such changes based on an assumption, it could be wrong and coordinate with the UI team first!

9 years agoMinor fix to UI messages.
Bastien Montagne [Sat, 14 Apr 2012 16:24:30 +0000 (16:24 +0000)]
Minor fix to UI messages.

9 years agoMinor fix to recent i18n commits.
Bastien Montagne [Sat, 14 Apr 2012 16:06:59 +0000 (16:06 +0000)]
Minor fix to recent i18n commits.

9 years agoFixed some UI message typos (spotted by Leon Cheung, thx).
Bastien Montagne [Sat, 14 Apr 2012 15:44:31 +0000 (15:44 +0000)]
Fixed some UI message typos (spotted by Leon Cheung, thx).

9 years agoFixed another bunch of i18n bugs (thx to Leon Cheung for spotting them), among which:
Bastien Montagne [Sat, 14 Apr 2012 15:06:41 +0000 (15:06 +0000)]
Fixed another bunch of i18n bugs (thx to Leon Cheung for spotting them), among which:
* Drag'n'drop translation in Outliner
* "Execute" button in file window
* "Labels" of spacing elements, in multi-column enums
* A glitch with nodes "Value to RGB", they where called "ColorRamp" in node_type_base() call. This is not definitive, though, as it appears that UI node names are determined by this call, while it should be by "defines" in rna_nodetrre_types.h, I guess... Anyway, not good to have such things in two different places!

Also moved default context name under BLF_translation.h, much better to have those all in one place, accessible from whole Blender code!

9 years agoSilencing some compiler warnings on Windows
Joshua Leung [Sat, 14 Apr 2012 11:58:52 +0000 (11:58 +0000)]
Silencing some compiler warnings on Windows

argv is defined as "char *" here so that unicode magic can happen causing
problems later on when "const char**" is expected instead. While this fix is
redundant on other platforms, it's a lot less confusing than some of the
alternative fixes.

9 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

request from ZanQdo, VenomGFX & Jonathan Williams.

For previous functionality Z, Shift+Z.

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

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

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

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

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

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

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

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

9 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

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.

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

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

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

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

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

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

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

9 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

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

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

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

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

9 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

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

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

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

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

9 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

9 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 (was adding dummy bit)
- make UV hide from last commit more readable.

9 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

9 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

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

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

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

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

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

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

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

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

9 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

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

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

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

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

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

9 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

9 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

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

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

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

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

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

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

9 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

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

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

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

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

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

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

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

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