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

7 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

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

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

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

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

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

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

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

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

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

7 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

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

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

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

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

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

7 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

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

7 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

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

7 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

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

7 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

7 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

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

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

7 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

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

7 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

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

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

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

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

7 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

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

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

7 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

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

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

7 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

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

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

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

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

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

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

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

7 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 before writing UI messages!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviewed by Brecht, thanks!

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

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

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

7 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

7 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

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

7 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

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

7 years agoclang/cmake - quiet warnings for external libs and reference moto as a system include.
Campbell Barton [Mon, 15 Jul 2013 08:26:16 +0000 (08:26 +0000)]
clang/cmake - quiet warnings for external libs and reference moto as a system include.

7 years agoFix #36124: VSE - Input Color doesn't invalidate cache properly for movies
Sergey Sharybin [Mon, 15 Jul 2013 07:58:15 +0000 (07:58 +0000)]
Fix #36124: VSE - Input Color doesn't invalidate cache properly for movies

Animation structure holds some buffers inside,
so for proper cache invalidation we need to
re-open the animation.

7 years agofix for error (-1 index into array) when removing customdata layers with no data...
Campbell Barton [Mon, 15 Jul 2013 06:29:09 +0000 (06:29 +0000)]
fix for error (-1 index into array) when removing customdata layers with no data, delete_customdata_layer was using layer data pointer to check weather to adjust index values (but both pointers can be NULL). Remove this code and do in customdata.c

7 years agofix for bad lengths being passed to string functions.
Campbell Barton [Mon, 15 Jul 2013 05:11:14 +0000 (05:11 +0000)]
fix for bad lengths being passed to string functions.

7 years agofix for error in string copy
Campbell Barton [Mon, 15 Jul 2013 05:09:06 +0000 (05:09 +0000)]
fix for error in string copy
- BLI_strncpy_wchar_from_utf8 wasn't NULL terminating the destination string, caused uninitialized memory use in BPY_python_start().
- BLI_strncpy_wchar_as_utf8 could write one byte past the buffer bounds.

7 years agodebug option (off by default), for BLI_string to help find incorrect sizes being...
Campbell Barton [Mon, 15 Jul 2013 03:54:57 +0000 (03:54 +0000)]
debug option (off by default), for BLI_string to help find incorrect sizes being passed in (enable in source files only)

7 years agoallow deselection when bones BONE_UNSELECTABLE flag is set (lasso/box/circle select)
Campbell Barton [Mon, 15 Jul 2013 02:03:31 +0000 (02:03 +0000)]
allow deselection when bones BONE_UNSELECTABLE flag is set (lasso/box/circle select)

7 years agofix [#36128] Not deselect all bone when I press the A button in edit mode
Campbell Barton [Mon, 15 Jul 2013 01:47:01 +0000 (01:47 +0000)]
fix [#36128] Not deselect all bone when I press the A button in edit mode

7 years agofix [#36107] Moving origin of instanced objects doesn't work properly
Campbell Barton [Mon, 15 Jul 2013 01:34:59 +0000 (01:34 +0000)]
fix [#36107] Moving origin of instanced objects doesn't work properly

now use the active object first if its selected, this means when multiple instances are selected, using the active object gives a predictable outcome.

7 years agofix for own regression, face index ranges still need checking in some places.
Campbell Barton [Sun, 14 Jul 2013 23:41:33 +0000 (23:41 +0000)]
fix for own regression, face index ranges still need checking in some places.

7 years agofix regression [#36141] Crash with skin and remesh modifier in edit mode.
Campbell Barton [Sun, 14 Jul 2013 23:27:47 +0000 (23:27 +0000)]
fix regression [#36141] Crash with skin and remesh modifier in edit mode.

7 years agoreplace strncpy with BLI_strncpy for cases we expect the string to be NULL terminated.
Campbell Barton [Sun, 14 Jul 2013 22:08:56 +0000 (22:08 +0000)]
replace strncpy with BLI_strncpy for cases we expect the string to be NULL terminated.

7 years ago== libredcode / licence cleanup ==
Peter Schlaile [Sun, 14 Jul 2013 20:38:55 +0000 (20:38 +0000)]
== libredcode / licence cleanup ==

Changed libredcode to GNU GPL v2 or later to make it more compatible
with additional libraries added to blender.

7 years agofix: #36060 Collada Import: animated armature+mesh problem
Gaia Clary [Sun, 14 Jul 2013 17:21:12 +0000 (17:21 +0000)]
fix: #36060 Collada Import: animated armature+mesh problem

7 years agoRemoved unused paramter from ArmatureImporter:add_joint()
Gaia Clary [Sun, 14 Jul 2013 16:24:42 +0000 (16:24 +0000)]
Removed unused paramter from ArmatureImporter:add_joint()

7 years agoFix a few issues found by coverity code scan in cycles code, nothing that caused
Brecht Van Lommel [Sun, 14 Jul 2013 13:19:57 +0000 (13:19 +0000)]
Fix a few issues found by coverity code scan in cycles code, nothing that caused
an actual bug as far as I can tell.

7 years agofix for case where negative index was used when rendering particles with UV's, also...
Campbell Barton [Sun, 14 Jul 2013 13:18:05 +0000 (13:18 +0000)]
fix for case where negative index was used when rendering particles with UV's, also removed redundant array check.

7 years agoFix some unnecessary memory allocation slowness in cycles mesh export.
Brecht Van Lommel [Sun, 14 Jul 2013 12:51:41 +0000 (12:51 +0000)]
Fix some unnecessary memory allocation slowness in cycles mesh export.

7 years agominor: commented fallthrough
Gaia Clary [Sun, 14 Jul 2013 12:30:05 +0000 (12:30 +0000)]
minor: commented fallthrough

7 years agorecent changes to particle normal orientation change behavior in a way you might...
Campbell Barton [Sun, 14 Jul 2013 10:57:43 +0000 (10:57 +0000)]
recent changes to particle normal orientation change behavior in a way you might not want (even though in general I think its an improvement).
split this into 2 options, added 'Normal-Tangent' orientation that makes the mesh orient towards the tangent, otherwise it uses Z-Up as before.

7 years agofix [#36135] File name of previously saved render result no longer remembered
Campbell Barton [Sun, 14 Jul 2013 09:57:03 +0000 (09:57 +0000)]
fix [#36135] File name of previously saved render result no longer remembered

in fact the problem was caused by own previous fix/improvement for a different case, now this works as follows...

- render uses last-saved name, falls back to 'untitled' in blend file path.
- non render uses id-name always, saves into dir of last-saved image, fall back to blend file path.

7 years agofix relating to [#36093] Stationary Particle system - particle Y axis fails to follow...
Campbell Barton [Sun, 14 Jul 2013 07:27:44 +0000 (07:27 +0000)]
fix relating to [#36093] Stationary Particle system - particle Y axis fails to follow emitter object rotation

With deformations and on a simple cube you could get axis flipping with normal-particle alignment.
now use the normal & tangent to create the orientation to give a stable matrix that wont flip.

7 years agofix: #34823 Collada: nodes exporting world matrices
Gaia Clary [Sun, 14 Jul 2013 00:34:21 +0000 (00:34 +0000)]
fix: #34823 Collada: nodes exporting world matrices

7 years agoFix for [#35482] 2.67 freestyle line visibility computation bug.
Tamito Kajiyama [Sat, 13 Jul 2013 19:33:25 +0000 (19:33 +0000)]
Fix for [#35482] 2.67 freestyle line visibility computation bug.

The reported line visibility issue was caused by a wrong calculation of a 2D
bounding box (so-called "proscenium face" in Freestyle) in the case of a
spherical grid data structure used for a perspective camera.  The problem was
resulting from the proscenium computation based on two corners (min and max)
of the 3D bounding box of imported mesh data.  Aware of the spherical coordinate
transformation involving non-linear (arctangent) functions, now the proscenium
is computed by taking in account all the eight corners of the 3D bounding box.

Also added minor code changes to facilitate future debugging.

7 years agofix for bad NULL check in bmo_connect_pair, also remove duplicate checks in if statem...
Campbell Barton [Sat, 13 Jul 2013 16:25:47 +0000 (16:25 +0000)]
fix for bad NULL check in bmo_connect_pair, also remove duplicate checks in if statements and redundant initialization vars.

7 years agofix for more errors with switch missing break
Campbell Barton [Sat, 13 Jul 2013 14:44:04 +0000 (14:44 +0000)]
fix for more errors with switch missing break
- boids random option was falling through to average.
- (NC_OBJECT | ND_DRAW) notifier was falling through to ND_SHADING button preview updates.

7 years agofix for missing break statements in switch, some key shortcuts and notifiers were...
Campbell Barton [Sat, 13 Jul 2013 14:21:36 +0000 (14:21 +0000)]
fix for missing break statements in switch, some key shortcuts and notifiers were falling through when its obviously incorrect to do so.