blender-staging.git
6 years agofix for bug snapping multiple pose bones to the cursor (it would apply pose transform...
Campbell Barton [Sat, 20 Jul 2013 15:43:48 +0000 (15:43 +0000)]
fix for bug snapping multiple pose bones to the cursor (it would apply pose transformation multiple times),
also named cursor vars more clearly.

6 years agomisc edits
Campbell Barton [Sat, 20 Jul 2013 15:07:57 +0000 (15:07 +0000)]
misc edits
- fix for missing None check with recent 'Hidden Wire' draw option.
- avoid int overflow with mesh selection.
- remove ';' outside of functions.

6 years agoFix descriptions for mask selection operators and use less ambiguous "letter-spacing...
Sv. Lockal [Sat, 20 Jul 2013 12:24:53 +0000 (12:24 +0000)]
Fix descriptions for mask selection operators and use less ambiguous "letter-spacing" term

6 years agoSelect more/less tool for mask splines
Sv. Lockal [Sat, 20 Jul 2013 10:24:16 +0000 (10:24 +0000)]
Select more/less tool for mask splines

6 years agoCycles / Sampling Presets:
Thomas Dinges [Sat, 20 Jul 2013 09:29:25 +0000 (09:29 +0000)]
Cycles / Sampling Presets:
* Values were a bit too small for the Progressive integrator, now we use 12 and 24 (sqared).

6 years agohidden wireframe option for mesh editmode, important for retopology mode (can be...
Campbell Barton [Sat, 20 Jul 2013 03:51:49 +0000 (03:51 +0000)]
hidden wireframe option for mesh editmode, important for retopology mode (can be used with xray).

6 years agoChanging the python error when accessing SCA_JoystickSensor.axisSingle in the wrong...
Daniel Stokes [Sat, 20 Jul 2013 03:15:57 +0000 (03:15 +0000)]
Changing the python error when accessing SCA_JoystickSensor.axisSingle in the wrong mode to an AttributeError instead of a TypeError as this more accurately reflects the problem.

6 years agoRe fixing BGE bug [#36223] Strange page fault of "Game" actuator
Daniel Stokes [Sat, 20 Jul 2013 03:01:50 +0000 (03:01 +0000)]
Re fixing BGE bug [#36223] Strange page fault of "Game" actuator

Thanks to Campbell for helping me get a better fix put together.

6 years agoFix for docstring inconsistency in Stroke.stroke_vertices_end().
Tamito Kajiyama [Sat, 20 Jul 2013 01:45:18 +0000 (01:45 +0000)]
Fix for docstring inconsistency in Stroke.stroke_vertices_end().

6 years agoAdd the Boost include to the right CMakeLists.txt...
Mitchell Stokes [Sat, 20 Jul 2013 01:17:00 +0000 (01:17 +0000)]
Add the Boost include to the right CMakeLists.txt...

6 years agoMore build fixes for r58428.
Mitchell Stokes [Sat, 20 Jul 2013 01:15:36 +0000 (01:15 +0000)]
More build fixes for r58428.

6 years agofix own bad regression/bug, removing vertex colors crashes [#36227]
Campbell Barton [Sat, 20 Jul 2013 01:15:12 +0000 (01:15 +0000)]
fix own bad regression/bug, removing vertex colors crashes [#36227]

6 years agoSCons fix for r58428.
Mitchell Stokes [Sat, 20 Jul 2013 01:09:16 +0000 (01:09 +0000)]
SCons fix for r58428.

6 years agoRemoving source files from source/gameengine/GamePlayer/common/SConscript that were...
Mitchell Stokes [Sat, 20 Jul 2013 00:51:05 +0000 (00:51 +0000)]
Removing source files from source/gameengine/GamePlayer/common/SConscript that were removed in an earlier commit. This should allow SCons to build the game engine again.

6 years agoCycles / CPU Rendering:
Thomas Dinges [Sat, 20 Jul 2013 00:40:03 +0000 (00:40 +0000)]
Cycles / CPU Rendering:
* "Auto Detect" now again uses the umber of cores, instead number of cores + 1.

This was added before we had Tile rendering and benchmarks on several systems showed that there is no gain with this now. There might be some slight difference (0.5% or so) slower/faster depending on the scene, but this is negligible.

6 years agoedit to r58425, BLI_math is available here, better not copy,paste from linearrgb_to_srgb.
Campbell Barton [Sat, 20 Jul 2013 00:35:41 +0000 (00:35 +0000)]
edit to r58425, BLI_math is available here, better not copy,paste from linearrgb_to_srgb.
also remove redundant check in AUD_FFMPEGReader::seek.

6 years ago* Compile fix for overloaded pow() function.
Thomas Dinges [Sat, 20 Jul 2013 00:21:16 +0000 (00:21 +0000)]
* Compile fix for overloaded pow() function.

6 years agorevert r58419. caller should do NULL check here.
Campbell Barton [Sat, 20 Jul 2013 00:15:01 +0000 (00:15 +0000)]
revert r58419. caller should do NULL check here.

6 years agoCycles / Sampling Presets:
Thomas Dinges [Fri, 19 Jul 2013 23:59:40 +0000 (23:59 +0000)]
Cycles / Sampling Presets:
* Add Presets for Sampling. This comes with a simple Preview and Final preset, but as this is varying a lot depending on the scene, they should just be a starting point. The user can add own presets here.

* Some UI layout changes to match the settings a bit better.

6 years agoBGE: Partial fix for [#36151] "Distance model not carrying over to standalone" report...
Mitchell Stokes [Fri, 19 Jul 2013 23:31:45 +0000 (23:31 +0000)]
BGE: Partial fix for [#36151] "Distance model not carrying over to standalone" reported by Florian Schneider (drjaska).

The Blenderplayer wasn't initializing 3D audio settings from the scene settings like the embedded player was.

6 years agoBGE fix [#35195] Shadow Only lamps only work with Specular enabled
Daniel Stokes [Fri, 19 Jul 2013 23:00:42 +0000 (23:00 +0000)]
BGE fix [#35195] Shadow Only lamps only work with Specular enabled

The way we do shadow only doesn't work well with colored shadows, though it does work if you apply enough light to the shadow.

6 years agoCode cleanup / Cycles:
Thomas Dinges [Fri, 19 Jul 2013 22:56:54 +0000 (22:56 +0000)]
Code cleanup / Cycles:
* Use USHRT_MAX rather than manual value, suggested by Campbell.

6 years agoBGE fix [#35563] Object colour setting for objects and fonts not using colour managem...
Daniel Stokes [Fri, 19 Jul 2013 22:54:02 +0000 (22:54 +0000)]
BGE fix [#35563] Object colour setting for objects and fonts not using colour management like materials

6 years agoCycles / Sampling UI:
Thomas Dinges [Fri, 19 Jul 2013 22:51:48 +0000 (22:51 +0000)]
Cycles / Sampling UI:
* Add a "Squared Samples" option to the UI, to use squared values for ease of use. This can make it easier from an artist point of view, to weak settings.

With this enabled, all Sample values will be squared. So 10 Samples become 100 Samples.
For the Non-Progressive integrator: 4 AA Samples * 5 Diffuse Samples would become 16 AA Samples * 25 Diffuse = 400 in total.

Patch by Matt Heimlich, with some minor edits by myself. Thanks!

6 years agoMerging from ge_dev to trunk r58091-58422.
Mitchell Stokes [Fri, 19 Jul 2013 22:37:40 +0000 (22:37 +0000)]
Merging from ge_dev to trunk r58091-58422.

6 years agoBge fix [#33016] Blender crashes when I start the game engine
Daniel Stokes [Fri, 19 Jul 2013 22:11:26 +0000 (22:11 +0000)]
Bge fix [#33016] Blender crashes when I start the game engine

Caused by a bit of a disconnect from the BGE mesh and BMesh.

6 years agoMerged changes from trunk r58324-58419.
Mitchell Stokes [Fri, 19 Jul 2013 22:10:11 +0000 (22:10 +0000)]
Merged changes from trunk r58324-58419.

6 years agoCleaning up some warnings that occur when an invalid navmesh is generated.
Daniel Stokes [Fri, 19 Jul 2013 22:07:38 +0000 (22:07 +0000)]
Cleaning up some warnings that occur when an invalid navmesh is generated.

6 years agoBGE fix [#36223] Strange page fault of "Game" actuator
Daniel Stokes [Fri, 19 Jul 2013 22:04:06 +0000 (22:04 +0000)]
BGE fix [#36223] Strange page fault of "Game" actuator

Adding a NULL check to BLI_ghash_lookup

6 years agoAdd Tamil characters to our i18n font (from samyak-tamil).
Bastien Montagne [Fri, 19 Jul 2013 20:28:46 +0000 (20:28 +0000)]
Add Tamil characters to our i18n font (from samyak-tamil).

6 years agoFix some definitions for MinGW64
Antony Riakiotakis [Fri, 19 Jul 2013 19:19:15 +0000 (19:19 +0000)]
Fix some definitions for MinGW64

6 years agostyle cleanup: braces/indentation
Campbell Barton [Fri, 19 Jul 2013 16:44:17 +0000 (16:44 +0000)]
style cleanup: braces/indentation

6 years agostyle cleanup: switch statements, include break statements within braces & indent.
Campbell Barton [Fri, 19 Jul 2013 15:23:42 +0000 (15:23 +0000)]
style cleanup: switch statements, include break statements within braces & indent.
also indent case's within the switch (we already did both of these almost everywhere)

6 years agoFix for [#36216] Viewport render with CMJ sampler and unlimited passes freezes
Thomas Dinges [Fri, 19 Jul 2013 14:00:53 +0000 (14:00 +0000)]
Fix for [#36216] Viewport render with CMJ sampler and unlimited passes freezes
* If Preview Samples are set to 0 (unlimited) it now assumes 65536 instead of INT_MAX.

This doesn't affect regular sampling, you can still enter fixed values of 100k or whatever.

6 years agoNodes / UI:
Thomas Dinges [Fri, 19 Jul 2013 12:39:58 +0000 (12:39 +0000)]
Nodes / UI:
* Change UI string for LayerWeight node to "Layer Weight" (with the gap in between), for consistency with other nodes.

6 years agoBlender 2.69 Release Cycle:
Thomas Dinges [Fri, 19 Jul 2013 12:33:09 +0000 (12:33 +0000)]
Blender 2.69 Release Cycle:
* BCon1: Alpha.

6 years agocode cleanup: remove BLI_array use when extruding individual faces. also use BM_face_...
Campbell Barton [Fri, 19 Jul 2013 11:45:21 +0000 (11:45 +0000)]
code cleanup: remove BLI_array use when extruding individual faces. also use BM_face_copy utility function.

6 years agoadd keybinding for dolly: shift +/-
Campbell Barton [Fri, 19 Jul 2013 11:19:29 +0000 (11:19 +0000)]
add keybinding for dolly: shift +/-

6 years agopatch [#36000] View lock offset (allow panning when the view is locked)
Campbell Barton [Fri, 19 Jul 2013 10:54:02 +0000 (10:54 +0000)]
patch [#36000] View lock offset (allow panning when the view is locked)
own patch

6 years agopatch [#35789] Quick hack select more/less tool for armatures
Campbell Barton [Fri, 19 Jul 2013 10:51:54 +0000 (10:51 +0000)]
patch [#35789] Quick hack select more/less tool for armatures
by Pedro Riera (priera), Andrey Dubravin and parts rewritten by myself.

6 years agopatch [#35789] Quick hack more/less tool for lattices
Campbell Barton [Fri, 19 Jul 2013 10:49:23 +0000 (10:49 +0000)]
patch [#35789] Quick hack more/less tool for lattices
by Pedro Riera (priera), Andrey Dubravin, I also made some changes.

6 years agopatch [#36032] Quick Hack lattice random selection
Campbell Barton [Fri, 19 Jul 2013 10:44:39 +0000 (10:44 +0000)]
patch [#36032] Quick Hack lattice random selection
by Andrey Dubravin (daa)

6 years agocode cleanup: use MEM_mallocN rather then MEM_callocN when the array is
Campbell Barton [Fri, 19 Jul 2013 10:41:16 +0000 (10:41 +0000)]
code cleanup: use MEM_mallocN rather then MEM_callocN when the array is
overwritten immediately after.

6 years agoadd rna attribute 'frame_current_final', without this you had to
Campbell Barton [Fri, 19 Jul 2013 10:41:09 +0000 (10:41 +0000)]
add rna attribute 'frame_current_final', without this you had to
manually calcualte it with the subframe and time remapping vars.

6 years agocode cleanup: use __linux__ define over linux
Campbell Barton [Fri, 19 Jul 2013 10:41:04 +0000 (10:41 +0000)]
code cleanup: use __linux__ define over linux

6 years agooptimization: avoid extra loop in BLI_mempool_destroy(). free the list inline.
Campbell Barton [Fri, 19 Jul 2013 10:40:57 +0000 (10:40 +0000)]
optimization: avoid extra loop in BLI_mempool_destroy(). free the list inline.

6 years agocode cleanup: use boolean for derived mesh face test function
Campbell Barton [Fri, 19 Jul 2013 10:40:52 +0000 (10:40 +0000)]
code cleanup: use boolean for derived mesh face test function

6 years agocode cleanup: case & brace placement
Campbell Barton [Fri, 19 Jul 2013 10:40:43 +0000 (10:40 +0000)]
code cleanup: case & brace placement

6 years agocode cleanup: pass event by pointer to getClipboard_xcout
Campbell Barton [Fri, 19 Jul 2013 10:40:27 +0000 (10:40 +0000)]
code cleanup: pass event by pointer to getClipboard_xcout

6 years agooptimization: avoid memcpy with shake key vertex array.
Campbell Barton [Fri, 19 Jul 2013 10:40:20 +0000 (10:40 +0000)]
optimization: avoid memcpy with shake key vertex array.

6 years agocode cleanup: inconsistent 'break' placement in BKE_object_minmax
Campbell Barton [Fri, 19 Jul 2013 10:40:12 +0000 (10:40 +0000)]
code cleanup: inconsistent 'break' placement in BKE_object_minmax

6 years agocode cleanup: replace inline loop with BLI_findstring
Campbell Barton [Fri, 19 Jul 2013 10:40:06 +0000 (10:40 +0000)]
code cleanup: replace inline loop with BLI_findstring

6 years agocode cleanup: remove redundant multiplying when jittering widget drawing.
Campbell Barton [Fri, 19 Jul 2013 10:40:01 +0000 (10:40 +0000)]
code cleanup: remove redundant multiplying when jittering widget drawing.

6 years agocode cleanup: replace wm_macro_modal inline search for BLI_findptr.
Campbell Barton [Fri, 19 Jul 2013 10:39:55 +0000 (10:39 +0000)]
code cleanup: replace wm_macro_modal inline search for BLI_findptr.

6 years agocode cleanup: simplify BLI_parent_dir using BLI_join_dirfile
Campbell Barton [Fri, 19 Jul 2013 10:39:49 +0000 (10:39 +0000)]
code cleanup: simplify BLI_parent_dir using BLI_join_dirfile

6 years agocode cleanup: use bool for widget struct, also edit odd strncpy use.
Campbell Barton [Fri, 19 Jul 2013 10:39:44 +0000 (10:39 +0000)]
code cleanup: use bool for widget struct, also edit odd strncpy use.

6 years agocode cleanup: avoid sqrt in isect_seg_seg_v2_point
Campbell Barton [Fri, 19 Jul 2013 10:39:37 +0000 (10:39 +0000)]
code cleanup: avoid sqrt in isect_seg_seg_v2_point

6 years agocode cleanup: remove array reallocation in bmesh duplicate function (use alloca)
Campbell Barton [Fri, 19 Jul 2013 10:39:32 +0000 (10:39 +0000)]
code cleanup: remove array reallocation in bmesh duplicate function (use alloca)

6 years agoenable type limits warning when compiling with gcc.
Campbell Barton [Fri, 19 Jul 2013 10:39:25 +0000 (10:39 +0000)]
enable type limits warning when compiling with gcc.

6 years agofix [#36218] Crash attempting to delete right side of hard cut in VSE on movie strip
Campbell Barton [Fri, 19 Jul 2013 08:04:05 +0000 (08:04 +0000)]
fix [#36218] Crash attempting to delete right side of hard cut in VSE on movie strip

deleting a strip would try free the anim membe twice.

6 years agoTradtional release commit! 2.68 splash and the numbering.
Ton Roosendaal [Thu, 18 Jul 2013 10:08:28 +0000 (10:08 +0000)]
Tradtional release commit! 2.68 splash and the numbering.

- This should then follow the tagging
- And I would still prefer to have at least 24 hours full freeze, for proper test
  and avoid last minute errors.

6 years agoAvoid creating Morph Controllers when shape key export is disabled
Gaia Clary [Thu, 18 Jul 2013 07:54:19 +0000 (07:54 +0000)]
Avoid creating Morph Controllers when shape key export is disabled

6 years agofix for action editor view-selected behaving strangely.
Campbell Barton [Thu, 18 Jul 2013 02:59:28 +0000 (02:59 +0000)]
fix for action editor view-selected behaving strangely.
- when an fcurve had no selected keyframes, a default fallback value was used which caused view-selected to include frame 1, even when no selected frames were there.

- the vertical axis was always reset, ideally we would center vertically too but the way this operator currently works we only know about the frame range,
  now don't change the vertical scroll when viewing selected since it would always jump to the top of the screen (view-all still acts this way).

6 years ago* Fix a typo in code.
Thomas Dinges [Wed, 17 Jul 2013 21:25:44 +0000 (21:25 +0000)]
* Fix a typo in code.

6 years agoLeaf bone length calculation used wrong bone tail
Gaia Clary [Wed, 17 Jul 2013 21:06:27 +0000 (21:06 +0000)]
Leaf bone length calculation used wrong bone tail

6 years agoFix: #36184 Collada import/export... leaf bone size was not set as needed.
Gaia Clary [Wed, 17 Jul 2013 20:22:08 +0000 (20:22 +0000)]
Fix: #36184 Collada import/export... leaf bone size was not set as needed.

6 years agoHide unnecessary error print when showing tooltip over a property with no RNA
Brecht Van Lommel [Wed, 17 Jul 2013 17:31:12 +0000 (17:31 +0000)]
Hide unnecessary error print when showing tooltip over a property with no RNA
path, ideally this would work everywhere but it's a known limitation, no need
to print an error in the console each time it happens.

6 years agoAdded some documentation for the minimal progress bar in blender_python_api
Gaia Clary [Wed, 17 Jul 2013 17:07:11 +0000 (17:07 +0000)]
Added some documentation for the minimal progress bar in blender_python_api

6 years agostyle cleanup
Campbell Barton [Wed, 17 Jul 2013 14:14:50 +0000 (14:14 +0000)]
style cleanup

6 years agofix [#36176] Connected font Bevel moves inwards for some letter combinations
Campbell Barton [Wed, 17 Jul 2013 14:05:50 +0000 (14:05 +0000)]
fix [#36176] Connected font Bevel moves inwards for some letter combinations
bevel wasn't taking into account overlapping text (bug goes back to 1.8).

6 years agoPossible fix for [#36086] Activating the opencl option in the compositor causes blend...
Thomas Dinges [Wed, 17 Jul 2013 12:57:03 +0000 (12:57 +0000)]
Possible fix for [#36086] Activating the opencl option in the compositor causes blender crash
* Now OCL_init() returns error messages if the OpenCL library cannot be loaded.

6 years agoFix for #36150, missing Preview Render Updates with Add/Remove material slot.
Thomas Dinges [Wed, 17 Jul 2013 11:02:51 +0000 (11:02 +0000)]
Fix for #36150, missing Preview Render Updates with Add/Remove material slot.

6 years agore-commit temp workaround [#35920], this still fails for OSX retina display,
Campbell Barton [Wed, 17 Jul 2013 10:48:32 +0000 (10:48 +0000)]
re-commit temp workaround [#35920], this still fails for OSX retina display,
but at least it resolves for DPI values other then 72.

6 years agofix/resolve [#36173] Current frame doesn't update while OpenGL Rendering Animation
Campbell Barton [Wed, 17 Jul 2013 09:57:02 +0000 (09:57 +0000)]
fix/resolve [#36173] Current frame doesn't update while OpenGL Rendering Animation

there was no feedback to the user about the current frame rendering, for longer renders this is no good.

6 years agoMerging changes from trunk r58091-58323.
Mitchell Stokes [Wed, 17 Jul 2013 01:40:26 +0000 (01:40 +0000)]
Merging changes from trunk r58091-58323.

6 years agoStyle cleanup of UI messages.
Bastien Montagne [Tue, 16 Jul 2013 13:12:58 +0000 (13:12 +0000)]
Style cleanup of UI messages.
Mostly, "weight groups" -> "vertex groups", and usual case/endpoints/typos/etc.

As a remainder, please read http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#UI_Messages before writing UI messages!

6 years agoFix missing render info text in blender internal rendered viewport after
Brecht Van Lommel [Tue, 16 Jul 2013 12:22:31 +0000 (12:22 +0000)]
Fix missing render info text in blender internal rendered viewport after
previous fix for checking char arrays against NULL.

6 years agofix for checking char arrays against NULL, instead check their first character. also...
Campbell Barton [Tue, 16 Jul 2013 11:42:07 +0000 (11:42 +0000)]
fix for checking char arrays against NULL, instead check their first character. also remove some dead code (return directly after return).

6 years agocorrect own incorrect check bmesh edgerin subdivide, also add missing break in orthog...
Campbell Barton [Tue, 16 Jul 2013 11:39:48 +0000 (11:39 +0000)]
correct own incorrect check bmesh edgerin subdivide, also add missing break in orthogonalize_m3 though this one wouldn't effect release builds.

6 years agofix own regression [#36154] Simple deform modifier doesn't recalculate normals
Campbell Barton [Tue, 16 Jul 2013 08:24:53 +0000 (08:24 +0000)]
fix own regression [#36154] Simple deform modifier doesn't recalculate normals
get_cddm and get_dm are called within modifiers so they wont ensure normals are valid, added an arg to optionally ensure valid normals.

6 years agofix [#36153] Crash when choosing a brush.
Campbell Barton [Tue, 16 Jul 2013 06:49:03 +0000 (06:49 +0000)]
fix [#36153] Crash when choosing a brush.

6 years agofix [#36155] Crash with __contains__
Campbell Barton [Tue, 16 Jul 2013 05:29:19 +0000 (05:29 +0000)]
fix [#36155] Crash with __contains__

6 years agofix [#36157] Memory Leak in GHOST_DropTargetX11
Campbell Barton [Tue, 16 Jul 2013 05:10:58 +0000 (05:10 +0000)]
fix [#36157] Memory Leak in GHOST_DropTargetX11
would leak a little bit of memory for every window created.

6 years agorevert part of own commit r58304, gives different behavior when de-selecting with...
Campbell Barton [Tue, 16 Jul 2013 03:41:09 +0000 (03:41 +0000)]
revert part of own commit r58304, gives different behavior when de-selecting with the lasso in some cases, will look into this after release.

6 years agomove ED_armature_edit_bone_select() into a more general utility function so view3d...
Campbell Barton [Tue, 16 Jul 2013 01:49:20 +0000 (01:49 +0000)]
move ED_armature_edit_bone_select() into a more general utility function so view3d-select bone operators can use it and get matching selection behavior when entering editmode.
- specifically - write to the connected parents tipsel flag when setting the rootsel flag.

6 years agofix for the tip of the bones without connected children de-selecting when entering...
Campbell Barton [Tue, 16 Jul 2013 00:40:12 +0000 (00:40 +0000)]
fix for the tip of the bones without connected children de-selecting when entering editmode.

6 years agoFix memory leak in BKE_mesh_vert_poly_map_create.
Antony Riakiotakis [Tue, 16 Jul 2013 00:34:03 +0000 (00:34 +0000)]
Fix memory leak in BKE_mesh_vert_poly_map_create.

6 years agoBGE: adding a fix so 2D filters work properly with side-by-side stereoscopic rendering.
Mitchell Stokes [Mon, 15 Jul 2013 22:44:48 +0000 (22:44 +0000)]
BGE: adding a fix so 2D filters work properly with side-by-side stereoscopic rendering.

6 years agoBGE: Fix for [#36023] "Objects of added scene are lit by lights of current scene...
Mitchell Stokes [Mon, 15 Jul 2013 22:35:09 +0000 (22:35 +0000)]
BGE: Fix for [#36023] "Objects of added scene are lit by lights of current scene" reported by Raf Colson (raco).

The material caching now keeps a cache per scene. Before materials from different scenes were sharing the same cache.

6 years agorevert part of own commit r58254, utf8 isnt stepping by 1 always so use less-than...
Campbell Barton [Mon, 15 Jul 2013 21:34:48 +0000 (21:34 +0000)]
revert part of own commit r58254, utf8 isnt stepping by 1 always so use less-than comparison.

6 years agoFix text object text entry being broken after recent fix to BLI_strncpy_wchar_from_utf8.
Brecht Van Lommel [Mon, 15 Jul 2013 19:04:49 +0000 (19:04 +0000)]
Fix text object text entry being broken after recent fix to BLI_strncpy_wchar_from_utf8.
Checked other usages of this function but they seem to be fine.

6 years agoFix #36058: Displace Modifier errors using a baked Image and displace baking inconsis...
Sergey Sharybin [Mon, 15 Jul 2013 14:47:58 +0000 (14:47 +0000)]
Fix #36058: Displace Modifier errors using a baked Image and displace baking inconsistency between 2.67/2.68RC and previous versions

This was in fact really nasty bug, caused by multitex_nodes
function using global variable R (which is a copy of current
renderer). this variable is not initialized to anything
meaningful for until first rendering (preview or final)
happened.

Since multitex_nodes might be used outside of render pipeline,
made it so whether CM is on or off as an argument to functions
multitex_ext_safe and multitex_ext. Now multitex_nodes() is
only shall be used for stuff happening from render pipeline!

Also needed to make some changes to other places, so all the
usages of texture sampling knows for the fact whether CM is
on or off.

And one more change is related on behavior of dispalcement,
wave, warp, weightvg modifiers and smoke. They'll be always
using CM off since texture is used for influence, not for
color.

It's rather bigger patch, but it's mostly straightforward
changes, which we really need to be done.

Reviewed by Brecht, thanks!

6 years agoFix #36127: 10 bit DPX render would crash when doing rendering animations from
Brecht Van Lommel [Mon, 15 Jul 2013 14:33:19 +0000 (14:33 +0000)]
Fix #36127: 10 bit DPX render would crash when doing rendering animations from
the UI on OS X.

The problem is due to a large variable on the stack, and pthreads have a smaller
stack size than the main thread by default. On Linux the pthread stack size seems
to be 2MB, OS X 512KB and Windows 256KB - 512KB.

6 years agofix for sequence strips being given non utf8 names, where the filepath wasn't utf8.
Campbell Barton [Mon, 15 Jul 2013 11:26:43 +0000 (11:26 +0000)]
fix for sequence strips being given non utf8 names, where the filepath wasn't utf8.
also correct bad assumption in BKE_image_load_exists() that all paths are relative to the current blend file.

6 years agoFix #36139: cycles not taking texture spacing settings into account for
Brecht Van Lommel [Mon, 15 Jul 2013 11:11:36 +0000 (11:11 +0000)]
Fix #36139: cycles not taking texture spacing settings into account for
generated coordinates on text objects.

6 years agofix: #36122 Collada import - Keyframes offset after recording and playing
Gaia Clary [Mon, 15 Jul 2013 11:01:23 +0000 (11:01 +0000)]
fix: #36122 Collada import - Keyframes offset after recording and playing

6 years agoCollada miport: Report 'unknown animation class' only when relevant
Gaia Clary [Mon, 15 Jul 2013 10:50:04 +0000 (10:50 +0000)]
Collada miport: Report 'unknown animation class' only when relevant

6 years agoFix #36145: Error in inverting channels in the UV/Image Editor
Sergey Sharybin [Mon, 15 Jul 2013 10:44:17 +0000 (10:44 +0000)]
Fix #36145: Error in inverting channels in the UV/Image Editor

Issue was caused by operator redo saving values for previous
inverted channels, meaning the same channels will be inverted
next time operator runs.

Don't think it's useful to save operator values here, since
you don;t have visual feedback about which channels were
inverted. So marked all this properties as SKIP_SAVE. Gives
much more predictable results.

6 years agocorrect placement of debug memset() for DEBUG_STRSIZE
Campbell Barton [Mon, 15 Jul 2013 09:10:51 +0000 (09:10 +0000)]
correct placement of debug memset() for DEBUG_STRSIZE

6 years agoprevious commit r58256, had error in editmode (somehow it worked in most tests still).
Campbell Barton [Mon, 15 Jul 2013 09:03:28 +0000 (09:03 +0000)]
previous commit r58256, had error in editmode (somehow it worked in most tests still).
also don't decrement active indices below zero (also a problem in 2.67).