blender-staging.git
8 years agoCycles: svn merge -r40266:40358 https://svn.blender.org/svnroot/bf-blender/trunk...
Brecht Van Lommel [Mon, 19 Sep 2011 14:20:15 +0000 (14:20 +0000)]
Cycles: svn merge -r40266:40358 https://svn.blender.org/svnroot/bf-blender/trunk/blender

8 years agoBlenfont: fix use incorrect clear of ascii glyph cache, leading to crash
Brecht Van Lommel [Mon, 19 Sep 2011 14:09:13 +0000 (14:09 +0000)]
Blenfont: fix use incorrect clear of ascii glyph cache, leading to crash
when toggling use antialising user preference. Also fix some other use of
uninitialized memory found by valgrind.

8 years ago/release/scripts: Removed final points in UI strings and messages.
Bastien Montagne [Mon, 19 Sep 2011 14:00:42 +0000 (14:00 +0000)]
/release/scripts: Removed final points in UI strings and messages.

8 years ago/blender/makesrna: Removed final points in UI strings and messages.
Bastien Montagne [Mon, 19 Sep 2011 13:23:58 +0000 (13:23 +0000)]
/blender/makesrna: Removed final points in UI strings and messages.
Plus a few splits of very long lines…

8 years agoSequencer: switching to preview mode works fine again
Sergey Sharybin [Mon, 19 Sep 2011 13:12:54 +0000 (13:12 +0000)]
Sequencer: switching to preview mode works fine again

8 years agoMove function out of mathutils to: BLI_math_rotation --- single_axis_angle_to_mat3...
Campbell Barton [Mon, 19 Sep 2011 13:08:01 +0000 (13:08 +0000)]
Move function out of mathutils to: BLI_math_rotation --- single_axis_angle_to_mat3(mat3, axis, angle), copied out from mathutils, axis arg is a char 'X/Y/Z' rather then a vector like axis_angle_to_mat3().

8 years ago/blender/editors: Removed final points in UI strings and messages.
Bastien Montagne [Mon, 19 Sep 2011 12:26:20 +0000 (12:26 +0000)]
/blender/editors: Removed final points in UI strings and messages.
Plus a few cuts in very long lines…

8 years agoCycles: remove deprecated strict aliasing flag for opencl, fix missing update
Brecht Van Lommel [Mon, 19 Sep 2011 11:57:31 +0000 (11:57 +0000)]
Cycles: remove deprecated strict aliasing flag for opencl, fix missing update
modifying object layer in properties editor, and add memarena utility.

8 years agoremove Buffer.list, deprecated before 2.59 release.
Campbell Barton [Mon, 19 Sep 2011 11:55:45 +0000 (11:55 +0000)]
remove Buffer.list, deprecated before 2.59 release.

8 years agoCurve back/front fill changes:
Sergey Sharybin [Mon, 19 Sep 2011 09:47:58 +0000 (09:47 +0000)]
Curve back/front fill changes:

- Use enum instead of back/front flags combinations.
- This flags behaves differently for 2d/3d curves so use different enums for them.
- This commit shouldn't change existing files.

8 years agoFix for add hook/vertex parent for meshes
Sergey Sharybin [Mon, 19 Sep 2011 08:25:31 +0000 (08:25 +0000)]
Fix for add hook/vertex parent for meshes

The only way to achieve this is to re-load editMesh.
After this commit you can't iterate through vertices and insert
hooks/parents from script anymore -- this operators are now
treated as topology-changing and shouldn't be used when iterating
via geometries.

8 years agoreplace WORDS_BIGENDIAN with __BIG_ENDIAN__
Campbell Barton [Mon, 19 Sep 2011 08:11:30 +0000 (08:11 +0000)]
replace WORDS_BIGENDIAN with __BIG_ENDIAN__

8 years agocleanup endian handling
Campbell Barton [Mon, 19 Sep 2011 08:02:17 +0000 (08:02 +0000)]
cleanup endian handling
- define __BIG_ENDIAN__ or __LITTLE_ENDIAN__ with cmake & scons.
- ENDIAN_ORDER is now a define rather than a global short.
- replace checks like this with single ifdef: #if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__)
- remove BKE_endian.h which isn't used

8 years agoremove WITH_* defines from image formats, instead just dont build the files at all.
Campbell Barton [Mon, 19 Sep 2011 06:32:19 +0000 (06:32 +0000)]
remove WITH_* defines from image formats, instead just dont build the files at all.

8 years agoupdate glew from 1.6 to 1.7:
Campbell Barton [Sun, 18 Sep 2011 15:37:36 +0000 (15:37 +0000)]
update glew from 1.6 to 1.7:

from their site:
  adds support for OpenGL 4.2, new extensions, fixes bugs

remove ChangeLog, its missing from the 1.7 bundle, also remove html doc dir.

8 years agoCycles: fix openimageio build issues on mac/linux.
Brecht Van Lommel [Sun, 18 Sep 2011 15:00:39 +0000 (15:00 +0000)]
Cycles: fix openimageio build issues on mac/linux.

8 years agoadd back GPL2+ header to paint_utils.c, copied from editface.c since some of its...
Campbell Barton [Sun, 18 Sep 2011 12:16:03 +0000 (12:16 +0000)]
add back GPL2+ header to paint_utils.c, copied from editface.c since some of its functions trace back to that file from 2.4x. (imapaint_tri_weights for eg).

8 years agoadd old style nan GPL2+ header to sound.c since this file is from rev2 and should...
Campbell Barton [Sun, 18 Sep 2011 12:06:28 +0000 (12:06 +0000)]
add old style nan GPL2+ header to sound.c since this file is from rev2 and should have had this header added.

8 years agopatch [#28684] Image pack/unpack() implementation.
Campbell Barton [Sun, 18 Sep 2011 11:47:17 +0000 (11:47 +0000)]
patch [#28684] Image pack/unpack() implementation.
from Bill Currie (taniwha)

8 years agoreplace strnlen with BLI_strnlen & some style changes.
Campbell Barton [Sun, 18 Sep 2011 11:25:50 +0000 (11:25 +0000)]
replace strnlen with BLI_strnlen & some style changes.

8 years agofix for crash loading a file saved with fluidsim when blenders compiled with it disabled.
Campbell Barton [Sun, 18 Sep 2011 11:08:34 +0000 (11:08 +0000)]
fix for crash loading a file saved with fluidsim when blenders compiled with it disabled.
also remove unneed class prefix on function name for itasc.

8 years agoblf - further shrink drawing functions & some style changes.
Campbell Barton [Sun, 18 Sep 2011 10:34:13 +0000 (10:34 +0000)]
blf - further shrink drawing functions & some style changes.

8 years agoblf code - no functional changes.
Campbell Barton [Sun, 18 Sep 2011 09:48:09 +0000 (09:48 +0000)]
blf code - no functional changes.
- remove saniy checks from blf_font.c, the callers now check instead.
- move duplicate code into defines (may move into static functions).
- move kerning checks into const values set at the start of the function, rather then checking on every character.

8 years agoFix for [#28672] Blender segfault after exiting a game that was opened with autoplay...
Joerg Mueller [Sun, 18 Sep 2011 09:46:47 +0000 (09:46 +0000)]
Fix for [#28672] Blender segfault after exiting a game that was opened with autoplay on (Blender, not blenderplayer)

Autoplay misses uninitialisation, I'm just fixing the reported crash, it still misses all other frees, but as the program exits, we don't care?

8 years agoMinor: Other UI strings typos and tweaks.
Bastien Montagne [Sun, 18 Sep 2011 09:38:43 +0000 (09:38 +0000)]
Minor: Other UI strings typos and tweaks.

8 years agoadded FindOpenImageIO cmake module.
Campbell Barton [Sun, 18 Sep 2011 04:55:22 +0000 (04:55 +0000)]
added FindOpenImageIO cmake module.

8 years agoConsole Scrolling - reset while typing.
Campbell Barton [Sun, 18 Sep 2011 01:34:53 +0000 (01:34 +0000)]
Console Scrolling - reset while typing.
patch from Damir Prebeg with some edits.

Also made it so resizing the console view keeps the lower part of the text in view (could be annoying when you needed to scroll because of a resized view).

8 years agoCycles: fix math nodes not working after merge.
Brecht Van Lommel [Sat, 17 Sep 2011 20:49:49 +0000 (20:49 +0000)]
Cycles: fix math nodes not working after merge.

8 years agoimage button was hard coded to draw the splash screen which it loaded from PNG data...
Campbell Barton [Sat, 17 Sep 2011 16:57:37 +0000 (16:57 +0000)]
image button was hard coded to draw the splash screen which it loaded from PNG data on every draw.

now pass the ImBuf when callign the image button so we could have different images in buttons later on.

8 years agoCycles:
Thomas Dinges [Sat, 17 Sep 2011 15:27:52 +0000 (15:27 +0000)]
Cycles:
* Fix node tree identifier. MATERIAL > SHADER.
This fixes some of the node buttons not showing up after recent merge.

8 years agoCycles: missed these files in merge commit.
Brecht Van Lommel [Sat, 17 Sep 2011 14:38:56 +0000 (14:38 +0000)]
Cycles: missed these files in merge commit.

8 years agoRecast/detour: fix some property enum identifiers to follow conventions.
Brecht Van Lommel [Sat, 17 Sep 2011 13:33:03 +0000 (13:33 +0000)]
Recast/detour: fix some property enum identifiers to follow conventions.

8 years agoCycles: svn merge -r39870:r40266 https://svn.blender.org/svnroot/bf-blender/trunk...
Brecht Van Lommel [Sat, 17 Sep 2011 13:28:40 +0000 (13:28 +0000)]
Cycles: svn merge -r39870:r40266 https://svn.blender.org/svnroot/bf-blender/trunk/blender

Merging the node changes required a lot of conflict resolution, fixed the
issues I could find but if you want stability you might want to wait a bit
before updating.

8 years agoNodes: fix nodes in groups not getting socket templates verified, and reserve
Brecht Van Lommel [Sat, 17 Sep 2011 13:03:42 +0000 (13:03 +0000)]
Nodes: fix nodes in groups not getting socket templates verified, and reserve
some socket flags for cycles to avoid conflicts.

8 years agoSpeedup for font drawing, every letter was character was calling:
Campbell Barton [Sat, 17 Sep 2011 10:45:20 +0000 (10:45 +0000)]
Speedup for font drawing, every letter was character was calling:
  glGetIntegerv(GL_TEXTURE_2D_BINDING_EXT, &cur_tex);

... with shadow enabled glGetFloatv(GL_CURRENT_COLOR, color) was called twice per character as well.

Now only call glGetFloatv(GL_CURRENT_COLOR, ...) once per string and only when drawing with shadow or blur, texture bind is stored in the font.

Gives 8% overall FPS speedup when displaying heavy UI in my test.

8 years agoMinor: fixing other UI typos.
Bastien Montagne [Sat, 17 Sep 2011 10:44:16 +0000 (10:44 +0000)]
Minor: fixing other UI typos.

8 years agouse macros RAD2DEG & DEG2RAD rather then multiplying by 180.0/M_PI or M_PI/180.0
Campbell Barton [Sat, 17 Sep 2011 09:43:51 +0000 (09:43 +0000)]
use macros RAD2DEG & DEG2RAD rather then multiplying by 180.0/M_PI or M_PI/180.0

8 years agoMinor: fixing an UI typo.
Bastien Montagne [Sat, 17 Sep 2011 09:15:30 +0000 (09:15 +0000)]
Minor: fixing an UI typo.

8 years agouse const and array size in function definitions, no functional change.
Campbell Barton [Sat, 17 Sep 2011 08:14:43 +0000 (08:14 +0000)]
use const and array size in function definitions, no functional change.

8 years agocorrection to recent commit, wouldnt have given any troubles but was assigning the...
Campbell Barton [Sat, 17 Sep 2011 07:28:19 +0000 (07:28 +0000)]
correction to recent commit, wouldnt have given any troubles but was assigning the 4th component of a float[3].

8 years agomore mini optimizations - don't call UI_ThemeColor 4 times per curve handle, instead...
Campbell Barton [Sat, 17 Sep 2011 07:14:39 +0000 (07:14 +0000)]
more mini optimizations - don't call UI_ThemeColor 4 times per curve handle, instead get all colors at the start and index them when drawing curves in editmode.

also remove redundant NULL check.

8 years agomicro optimization for circle drawing.
Campbell Barton [Sat, 17 Sep 2011 06:18:35 +0000 (06:18 +0000)]
micro optimization for circle drawing.
- use vertex array for drawcircball()
- add circball_array_fill() and call from drawcircball().
- for object center's rather than drawing 2 circles, create the array and reuse it.

8 years agouse less confusing array syntax for circle drawing, no functional changes.
Campbell Barton [Sat, 17 Sep 2011 05:35:55 +0000 (05:35 +0000)]
use less confusing array syntax for circle drawing, no functional changes.

8 years agoBGE Animations: Fixing some refcount issues with KX_Scene::m_animatedlist (fixes...
Mitchell Stokes [Fri, 16 Sep 2011 20:08:05 +0000 (20:08 +0000)]
BGE Animations: Fixing some refcount issues with KX_Scene::m_animatedlist (fixes m_animatedlist crashes) and some whitespace issues with KX_GameObject::GetActionManager().

8 years agoBGE fix: Font Objects not showing up in the dome mode
Dalai Felinto [Fri, 16 Sep 2011 18:23:57 +0000 (18:23 +0000)]
BGE fix: Font Objects not showing up in the dome mode
geez, who coded the font object? or even worse, who did the dome code?
Don't coders talk? tsc tsc ...

Now seriously, KX_KetsjiEngine::RenderFonts() could be moved to inside the KX_Scene class. It probably should (so I could call it from inside KX_Dome::RenderDomeFrame()). Not critical, so not changing it for now.

8 years agoSVN maintenance.
Guillermo S. Romero [Fri, 16 Sep 2011 17:18:12 +0000 (17:18 +0000)]
SVN maintenance.

8 years agoWeightVG: added WeightVG icon for outliner (don’t know when that where lost...).
Bastien Montagne [Fri, 16 Sep 2011 16:05:45 +0000 (16:05 +0000)]
WeightVG: added WeightVG icon for outliner (don’t know when that where lost...).

8 years ago- fix for memory leak in findFreeNavPolyIndex()
Campbell Barton [Fri, 16 Sep 2011 14:02:44 +0000 (14:02 +0000)]
- fix for memory leak in findFreeNavPolyIndex()
- also correct own script for running cppcheck.

8 years agoCycles: tweaks to properties and nodes
Brecht Van Lommel [Fri, 16 Sep 2011 13:14:02 +0000 (13:14 +0000)]
Cycles: tweaks to properties and nodes

* Passes renamed to samples
* Camera lens radius renamed to aperature size/blades/rotation
* Glass and fresnel nodes input is now index of refraction
* Glossy and velvet fresnel socket removed
* Mix/add closure node renamed to mix/add shader node
* Blend weight node added for shader mixing weights

There is some version patching code for reading existing files, but it's not
perfect, so shaders may work a bit different.

8 years agoCycles: fix issue with mix shaders, leading to use of uninitialized memory.
Brecht Van Lommel [Fri, 16 Sep 2011 13:00:09 +0000 (13:00 +0000)]
Cycles: fix issue with mix shaders, leading to use of uninitialized memory.

8 years agoCycles: fix crash deleting emitting objects.
Brecht Van Lommel [Fri, 16 Sep 2011 12:59:22 +0000 (12:59 +0000)]
Cycles: fix crash deleting emitting objects.

8 years agoCycles: reenable opencl binary caching on mac, it's not the cause of the problem.
Brecht Van Lommel [Fri, 16 Sep 2011 10:29:30 +0000 (10:29 +0000)]
Cycles: reenable opencl binary caching on mac, it's not the cause of the problem.

8 years agoFix #28663: All "unit" properties show a value of 0 (on WinXP&MinGW&scons)
Sergey Sharybin [Fri, 16 Sep 2011 10:03:08 +0000 (10:03 +0000)]
Fix #28663: All "unit" properties show a value of 0 (on WinXP&MinGW&scons)

Initially problem was caused by updated version of mingw-runtime which
changed behavior of snprintf and vsnprintf so %lf isn't anymore valid
for doubles.

According to manpages, %f is a correct format for snprintf for doubles.

8 years agocorrection for my fix for [#28668], would crash when there were no editbones.
Campbell Barton [Fri, 16 Sep 2011 09:02:31 +0000 (09:02 +0000)]
correction for my fix for [#28668], would crash when there were no editbones.

8 years agouse replace 0 with NULL for pointers, set some functions static
Campbell Barton [Fri, 16 Sep 2011 08:20:21 +0000 (08:20 +0000)]
use replace 0 with NULL for pointers, set some functions static
also fixed own errors in recent static check commit.

8 years agonew convenience makefile targets for static source code cheching: check_splint/check_...
Campbell Barton [Fri, 16 Sep 2011 06:58:20 +0000 (06:58 +0000)]
new convenience makefile targets for static source code cheching: check_splint/check_sparse/check_cppcheck

8 years agoreplace macros with math lib functions
Campbell Barton [Fri, 16 Sep 2011 06:56:50 +0000 (06:56 +0000)]
replace macros with math lib functions

8 years ago- fix for access past the buffer size (paint / sculpt used some 2d vecs as 3d)
Campbell Barton [Fri, 16 Sep 2011 06:47:01 +0000 (06:47 +0000)]
- fix for access past the buffer size (paint / sculpt used some 2d vecs as 3d)
- remove redundant NULL checks on old code where it would crash if the result was NULL later on.
- add some missing NULL checks.

8 years ago- remove deprecated pose channel members
Campbell Barton [Fri, 16 Sep 2011 02:42:50 +0000 (02:42 +0000)]
- remove deprecated pose channel members
- change short -> char for flags that support it.
- add pose 'temp' pointer to use for outliner drawing (was using 'prev' and restoring which seems dodjy)

8 years agofix [#28668] Crashes entering edit mode on Armature
Campbell Barton [Fri, 16 Sep 2011 02:08:00 +0000 (02:08 +0000)]
fix [#28668] Crashes entering edit mode on Armature

8 years agoWeightVG: Made Edit and Proximity also use the new weightvg_update_vg MDeformWeight...
Bastien Montagne [Thu, 15 Sep 2011 17:28:18 +0000 (17:28 +0000)]
WeightVG: Made Edit and Proximity also use the new weightvg_update_vg MDeformWeight** parameter (to avoid another vgroup searching).
Also added to Proximity a check in case vgroup would have no vertices in it.
Plus a few minor edits...

8 years agoSVN maintenance.
Guillermo S. Romero [Thu, 15 Sep 2011 16:37:36 +0000 (16:37 +0000)]
SVN maintenance.

8 years ago- include enum names and descriptions in sphinx generated documentation
Campbell Barton [Thu, 15 Sep 2011 16:15:24 +0000 (16:15 +0000)]
- include enum names and descriptions in sphinx generated documentation
- add descriptions for operator bl_options

8 years agoCycles: fix preview render in 3d view not working on OS X.
Brecht Van Lommel [Thu, 15 Sep 2011 16:09:42 +0000 (16:09 +0000)]
Cycles: fix preview render in 3d view not working on OS X.

8 years agoWeightVG utils, weightvg_update_vg func updates.
Bastien Montagne [Thu, 15 Sep 2011 16:06:00 +0000 (16:06 +0000)]
WeightVG utils, weightvg_update_vg func updates.
* Added an optional array of MDeformModifier pointers, to avoid another search based on defgrp_idx.
* Split out "add/remove verts from vgroup" functions, preparing their move to deform.c (if their current form is validated!).

8 years agoUse static context trick for all platforms.
Sergey Sharybin [Thu, 15 Sep 2011 15:29:40 +0000 (15:29 +0000)]
Use static context trick for all platforms.

Should be safe until modifier stack is not threaded.
Solves issues with mingw and older glibc version (like used in release environment).

8 years agoWeightVG Mix modifier: updated code to use defgrp_find_index, and make MDeformWeights...
Bastien Montagne [Thu, 15 Sep 2011 14:48:50 +0000 (14:48 +0000)]
WeightVG Mix modifier: updated code to use defgrp_find_index, and make MDeformWeights be searched only once.
Also fixed a bug: when another set mode than "All Vertices" was used and resulting set of verts was empty, all vertices was used, instead of just returning org, unmodified data!

8 years ago- Whitespace fixes (was commiting from windows where text editor wasn't configured...
Sergey Sharybin [Thu, 15 Sep 2011 13:14:46 +0000 (13:14 +0000)]
- Whitespace fixes (was commiting from windows where text editor wasn't configured, pardon)
- Fixing typo in description of GP paint mode.

8 years agoreplace BLI_strncpy with BLI_strncpy_utf8 where input isnt ensured to be valid.
Campbell Barton [Thu, 15 Sep 2011 12:26:48 +0000 (12:26 +0000)]
replace BLI_strncpy with BLI_strncpy_utf8 where input isnt ensured to be valid.
also replace strcpy's which copy using "" with str[0]='\0'

8 years agofix [#28658] python can assign non utf8 and crash because of string lenth limits.
Campbell Barton [Thu, 15 Sep 2011 11:49:36 +0000 (11:49 +0000)]
fix [#28658] python can assign non utf8 and crash because of string lenth limits.

add BLI_strncpy_utf8() which which ensures there are no partially copied UTF8 characters, limited by the buffer size.

8 years agoUpdate build rules to deal with new gettext libraries.
Sergey Sharybin [Thu, 15 Sep 2011 11:37:42 +0000 (11:37 +0000)]
Update build rules to deal with new gettext libraries.

8 years agoFix [#28654] Warp modifier does not support negative strength when Vertex Group is...
Bastien Montagne [Thu, 15 Sep 2011 11:18:15 +0000 (11:18 +0000)]
Fix [#28654] Warp modifier does not support negative strength when Vertex Group is used.
The vg weight was multiplied by org strength (i.e. neg strength was always skiping all verts!), now multiplying it with abs value of strength.

8 years agoNew C/Py api utility function PyC_Err_Format_Prefix() which raises an error with...
Campbell Barton [Thu, 15 Sep 2011 10:43:55 +0000 (10:43 +0000)]
New C/Py api utility function PyC_Err_Format_Prefix() which raises an error with the existing error as a suffix.

Use this to raise errors when assigning a string property fails even though the value to assign *is* a string.

Before:
  TypeError: bpy_struct: item.attr= val: Object.name expected a string type, not str

After:
  TypeError: bpy_struct: item.attr= val: Object.name error assigning string, UnicodeEncodeError('utf-8' codec can't encode character '\udce9' in position 23: surrogates not allowed)

8 years agomove utf8 string.c functions into their own file, also add python tip for printing...
Campbell Barton [Thu, 15 Sep 2011 08:07:42 +0000 (08:07 +0000)]
move utf8 string.c functions into their own file, also add python tip for printing operators.

8 years agoCycles: attempted fixes for OS X preview render problem, and disable
Brecht Van Lommel [Wed, 14 Sep 2011 22:26:55 +0000 (22:26 +0000)]
Cycles: attempted fixes for OS X preview render problem, and disable
kernel cache there now as well since it seems to give issues there.

8 years agominor edits to ascii draw function, unused var warning.
Campbell Barton [Wed, 14 Sep 2011 02:45:44 +0000 (02:45 +0000)]
minor edits to ascii draw function, unused var warning.

8 years agomove ED_object_pose_armature --> object_pose_armature_get to so we dont get bad level...
Campbell Barton [Wed, 14 Sep 2011 01:48:55 +0000 (01:48 +0000)]
move ED_object_pose_armature --> object_pose_armature_get to so we dont get bad level calls in the weight paint branch.

8 years agoremoved nodes from CMake's BLENDER_LINK_LIBS, rewrote find-pcre using own template.
Campbell Barton [Wed, 14 Sep 2011 01:23:17 +0000 (01:23 +0000)]
removed nodes from CMake's BLENDER_LINK_LIBS, rewrote find-pcre using own template.

8 years ago- removed some duplicate library links from cmake (which were needed because of bad...
Campbell Barton [Wed, 14 Sep 2011 01:02:57 +0000 (01:02 +0000)]
- removed some duplicate library links from cmake (which were needed because of bad level calls)
- FindXML2 we had copied from another project was always running and not using cached value, rewrote based on template used for most of our other find modules which makes use of 'FindPackageHandleStandardArgs'
- mark statuc collada libs as advanced.

8 years agoresolve bad level calls from blenkenel/ into editors/ & remove editors from the inclu...
Campbell Barton [Wed, 14 Sep 2011 00:37:27 +0000 (00:37 +0000)]
resolve bad level calls from blenkenel/ into editors/ & remove editors from the include path from CMake & SCons.

* ED_curve_editnurbs --> curve_editnurbs
* ED_sculpt_modifiers_changed --> object_sculpt_modifiers_changed

8 years agofix compilation for MinGW by substituting qsort_r with qsort. What aversion do MinGW...
Antony Riakiotakis [Tue, 13 Sep 2011 19:51:58 +0000 (19:51 +0000)]
fix compilation for MinGW by substituting qsort_r with qsort. What aversion do MinGW guys have for including '_r' variants of functions anyway?
Warning: a clean build will be needed probably to account for recent merge changes, or link errors will occur.

8 years agoFix typo in own commit for raycast library
Sergey Sharybin [Tue, 13 Sep 2011 16:54:01 +0000 (16:54 +0000)]
Fix typo in own commit for raycast library

8 years agoEnable FFTW3 library for buildslaves
Sergey Sharybin [Tue, 13 Sep 2011 16:52:42 +0000 (16:52 +0000)]
Enable FFTW3 library for buildslaves

8 years agofix [#28635] Mirror Modifier - Clipping still active when modifier is disabled
Campbell Barton [Tue, 13 Sep 2011 05:00:54 +0000 (05:00 +0000)]
fix [#28635] Mirror Modifier - Clipping still active when modifier is disabled

8 years agoFixes #28599: Wrong re-assigning of layers in RenderLayer comp nodes when deleting...
Bastien Montagne [Mon, 12 Sep 2011 17:27:02 +0000 (17:27 +0000)]
Fixes #28599: Wrong re-assigning of layers in RenderLayer comp nodes when deleting a render layer.
Also added the check of comp nodetree of all scenes, as others might also use that scene in their compositing!

8 years agocorrect bad maximum value, for wile-loop node, outside the range of a short.
Campbell Barton [Mon, 12 Sep 2011 15:29:37 +0000 (15:29 +0000)]
correct bad maximum value, for wile-loop node, outside the range of a short.

8 years agoCycles: fix crash with group node sockets that don't connect to any node
Brecht Van Lommel [Mon, 12 Sep 2011 14:47:36 +0000 (14:47 +0000)]
Cycles: fix crash with group node sockets that don't connect to any node
inside the group.

8 years agofix for opencollada crash with r40164, missing NULL check.
Campbell Barton [Mon, 12 Sep 2011 13:59:23 +0000 (13:59 +0000)]
fix for opencollada crash with r40164, missing NULL check.

8 years agofix for error linking opencollada on linux.
Campbell Barton [Mon, 12 Sep 2011 13:58:13 +0000 (13:58 +0000)]
fix for error linking opencollada on linux.

8 years agoFix [#28614] Collada Exporter does not export Ambient term
Nathan Letwory [Mon, 12 Sep 2011 13:20:24 +0000 (13:20 +0000)]
Fix [#28614] Collada Exporter does not export Ambient term
reported by Steiner Bernhard

ma->ambX is calculated only on a render, so instead of relying on those values compute them manually.

8 years agoCycles:
Brecht Van Lommel [Mon, 12 Sep 2011 13:13:56 +0000 (13:13 +0000)]
Cycles:
* Fix missing update when editing objects with emission materials.
* Fix preview pass rendering set to 1 not showing full resolution.
* Fix CUDA runtime compiling failing due to missing cache directory.
* Use settings from first render layer for visibility and material override.

And a bunch of incomplete and still disabled code mostly related to closure
sampling.

8 years agouse vector size and const args where possible (no functional change)
Campbell Barton [Mon, 12 Sep 2011 13:00:24 +0000 (13:00 +0000)]
use vector size and const args where possible (no functional change)

8 years agoCycles:
Thomas Dinges [Mon, 12 Sep 2011 11:59:13 +0000 (11:59 +0000)]
Cycles:
* Remove RE_DO_RENDERED again, check for view_draw callback is sufficient.

8 years agoCode shuffle so function has only one exit point.
Nathan Letwory [Mon, 12 Sep 2011 10:57:41 +0000 (10:57 +0000)]
Code shuffle so function has only one exit point.

8 years agoFix for bug #28332: Smoke Simulation rendering artifacts.
Miika Hamalainen [Mon, 12 Sep 2011 09:55:04 +0000 (09:55 +0000)]
Fix for bug #28332: Smoke Simulation rendering artifacts.

Volume pre-caching altered shared data simultaneously in multiple threads, causing invalid scattering results when "Asymmetry" value was used. The view vector is now passed as a function argument.

8 years agoFix #28613: SEGFAULT: When setting Best-Quality on a Bump Map in GLSL viewport
Sergey Sharybin [Mon, 12 Sep 2011 09:47:28 +0000 (09:47 +0000)]
Fix #28613: SEGFAULT: When setting Best-Quality on a Bump Map in GLSL viewport

Problem was caused by CRLF line ending instead of LF line ending.
Re-generate pu_shader_material to use LF line ending and made gpu codegen
treat \r as space character.

8 years agofix for changing font sizes with recent utf8 speedup
Campbell Barton [Mon, 12 Sep 2011 09:12:34 +0000 (09:12 +0000)]
fix for changing font sizes with recent utf8 speedup

8 years agoFixed "bug" #28611: Subdiv value for icosphere should not be below 1.
Bastien Montagne [Mon, 12 Sep 2011 08:27:21 +0000 (08:27 +0000)]
Fixed "bug" #28611: Subdiv value for icosphere should not be below 1.

8 years agoRecast: attempt to fix compilation problem in Linux.
Benoit Bolsee [Mon, 12 Sep 2011 07:38:00 +0000 (07:38 +0000)]
Recast: attempt to fix compilation problem in Linux.

8 years ago- fix for mesh_get_mapped_verts_nors copying short normals to floats without scaling.
Campbell Barton [Mon, 12 Sep 2011 04:29:35 +0000 (04:29 +0000)]
- fix for mesh_get_mapped_verts_nors copying short normals to floats without scaling.
- BL_SkinDeformer also did this though for that case its not a problem because the normals are later accumulated anyway.