9 years agoColor Management: fix crash when displaying render preview if OCIO was disabled buildtime
Sergey Sharybin [Sun, 16 Sep 2012 15:17:22 +0000 (15:17 +0000)]
Color Management: fix crash when displaying render preview if OCIO was disabled buildtime

9 years agoReal fix for OSX CMake -- was a typo in build file generation file
Sergey Sharybin [Sun, 16 Sep 2012 14:43:44 +0000 (14:43 +0000)]
Real fix for OSX CMake -- was a typo in build file generation file

Now Ceres re-bundling should go smooth :)

9 years agoFix OSX compile
Jens Verwiebe [Sun, 16 Sep 2012 14:31:25 +0000 (14:31 +0000)]
Fix OSX compile

9 years agoFix typo in one of previous commits
Sergey Sharybin [Sun, 16 Sep 2012 13:58:15 +0000 (13:58 +0000)]
Fix typo in one of previous commits

9 years agoOSL Fix for fireflies in velvet bsdf, ported over from SVM fix in r41738.
Lukas Toenne [Sun, 16 Sep 2012 13:17:39 +0000 (13:17 +0000)]
OSL Fix for fireflies in velvet bsdf, ported over from SVM fix in r41738.

9 years agoFix some warnings treated as errors here.
Sergey Sharybin [Sun, 16 Sep 2012 12:33:39 +0000 (12:33 +0000)]
Fix some warnings treated as errors here.

9 years agoCeres: tweak namespace for hash classes for MSVC2010
Sergey Sharybin [Sun, 16 Sep 2012 12:24:54 +0000 (12:24 +0000)]
Ceres: tweak namespace for hash classes for MSVC2010

Not sure if it'll solve all issues, but at least it should reduce
amount of errors.

Also added missed patch from previous commit.

9 years agoCeres: reshuffle include order to solve compilation error with MSVC
Sergey Sharybin [Sun, 16 Sep 2012 12:24:48 +0000 (12:24 +0000)]
Ceres: reshuffle include order to solve compilation error with MSVC

Not sure why exactly this happens, would need extra investigation
and should probably be also fixed in upstream.

9 years agoLibmv: remove unwind hack from CMake rules.
Sergey Sharybin [Sun, 16 Sep 2012 12:24:43 +0000 (12:24 +0000)]
Libmv: remove unwind hack from CMake rules.

Such stuff better be solved in glog itself.

Should be pretty safe change since it was defined for CMake only
and AFAIR Jens wanted to get rid of this too.

9 years agoCeres: upgrade to version 1.3.0
Sergey Sharybin [Sun, 16 Sep 2012 12:24:37 +0000 (12:24 +0000)]
Ceres: upgrade to version 1.3.0

This should contain real fixes for Windows, making it more robost and hopefully
faster (due to proper collection port) on that platform.

Also hack to fix Eigen alignment shouldn't be needed anymore.

Also on platforms which have got broken TR1 collections it's better to define
CERES_NO_TR1 instead of using Boost hacks. Made changes to Scons and CMake,
but can not check if this indeed works since i don't have OSX here.

9 years agoCeres: remove debug-only code from bundling script, also move osx workaround to template
Sergey Sharybin [Sun, 16 Sep 2012 12:23:00 +0000 (12:23 +0000)]
Ceres: remove debug-only code from bundling script, also move osx workaround to template

9 years agoCode cleanup - Remove/update outdated comments and whitespace tweaks
Joshua Leung [Sun, 16 Sep 2012 11:19:36 +0000 (11:19 +0000)]
Code cleanup - Remove/update outdated comments and whitespace tweaks

9 years agouse the format attribute in more places, disable X11 options when building with GHOST_SDL
Campbell Barton [Sun, 16 Sep 2012 10:39:19 +0000 (10:39 +0000)]
use the format attribute in more places, disable X11 options when building with GHOST_SDL

9 years agospeedup for vertex parent lookups, were looping over array elements when it wasn...
Campbell Barton [Sun, 16 Sep 2012 08:25:31 +0000 (08:25 +0000)]
speedup for vertex parent lookups, were looping over array elements when it wasn't needed for lattice and curves, and in some cases meshes.

do dirrect array lookups instead where possible.

9 years agoBugfix [#32501] Protected layer bones transform buttons are greyed out/inactive
Joshua Leung [Sun, 16 Sep 2012 07:27:43 +0000 (07:27 +0000)]
Bugfix [#32501] Protected layer bones transform buttons are greyed out/inactive

Since the transform values for bones in protected layers can be animated again
using many of the common tools, it makes sense that the transform properties for
these are allowed to be edited too.

I've left the rotation mode setting as a "proxy locked" value for now, since
this seems more like something that's defined as part of the rig creation (and
best left alone by animators).

9 years agoCode cleanup - remove some obsolete code
Joshua Leung [Sun, 16 Sep 2012 07:14:15 +0000 (07:14 +0000)]
Code cleanup - remove some obsolete code

9 years agostyle cleanup
Campbell Barton [Sun, 16 Sep 2012 04:58:18 +0000 (04:58 +0000)]
style cleanup

9 years agofix for error in recent commit (made function static that shouldn't have been), add...
Campbell Barton [Sun, 16 Sep 2012 01:35:00 +0000 (01:35 +0000)]
fix for error in recent commit (made function static that shouldn't have been), add extra gcc warnings to cmake.

9 years agocode cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarations
Campbell Barton [Sun, 16 Sep 2012 00:26:36 +0000 (00:26 +0000)]
code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarations

9 years agocode cleanup: make local game engine functions static
Campbell Barton [Sun, 16 Sep 2012 00:22:55 +0000 (00:22 +0000)]
code cleanup: make local game engine functions static

9 years agocode cleanup: remove unused structs and also some style cleanup.
Campbell Barton [Sat, 15 Sep 2012 23:13:24 +0000 (23:13 +0000)]
code cleanup: remove unused structs and also some style cleanup.

9 years agoremove unused parts of raskter module.
Campbell Barton [Sat, 15 Sep 2012 23:05:34 +0000 (23:05 +0000)]
remove unused parts of raskter module.

9 years agoYet another OSL fix: Some functions are missing stubs that were not used in old OSL...
Lukas Toenne [Sat, 15 Sep 2012 18:08:51 +0000 (18:08 +0000)]
Yet another OSL fix: Some functions are missing stubs that were not used in old OSL implementation yet.

9 years agoFix for OSL 'Normal' node: the Direction parameter is of 'normal' type instead of...
Lukas Toenne [Sat, 15 Sep 2012 16:31:11 +0000 (16:31 +0000)]
Fix for OSL 'Normal' node: the Direction parameter is of 'normal' type instead of generic 'vector'.

9 years agoGenerate compatible OSL shader parameter names in cases where the node has and input...
Lukas Toenne [Sat, 15 Sep 2012 16:31:07 +0000 (16:31 +0000)]
Generate compatible OSL shader parameter names in cases where the node has and input and output with the same name. In that case the convention is to add suffixes "In" and "Out" respectively.

Blender node has one input "Color" and one output "Color"

-> OSL parameter names should be "ColorIn" and "ColorOut"

9 years agoOSL implementation of RGB ramp node.
Lukas Toenne [Sat, 15 Sep 2012 15:41:37 +0000 (15:41 +0000)]
OSL implementation of RGB ramp node.

The sampled color ramp data is passed to OSL as a color array. This has to be done as actual float[3] array though, since the Cycles float3 type actually contains 4 floats, leading to shifting color components in the array.

Additional parameter set functions for arrays have been added to the Cycles OSL interface for this purpose.

9 years agoMerged this part of code by mistake.
Sergey Sharybin [Sat, 15 Sep 2012 15:17:51 +0000 (15:17 +0000)]
Merged this part of code by mistake.

9 years agoCycles / OSL:
Thomas Dinges [Sat, 15 Sep 2012 15:03:43 +0000 (15:03 +0000)]
Cycles / OSL:
* Fix Musgrave Texture, used wrong Perlin Noise (0..1) instead of -1..1. Also added comment to noise_basis() to make it clear which noise type is used there.

9 years agoCycles / OSL:
Thomas Dinges [Sat, 15 Sep 2012 13:56:09 +0000 (13:56 +0000)]
Cycles / OSL:
* Fixes for Voronoi, Gradient and Magic Textures. SVM and OSL renders excactly the same now.

9 years ago* Disable building of Legacy Compositor in Scons.
Thomas Dinges [Sat, 15 Sep 2012 12:32:30 +0000 (12:32 +0000)]
* Disable building of Legacy Compositor in Scons.

9 years agocode cleanup: replace macro for BLI_rect size/center with inline functions.
Campbell Barton [Sat, 15 Sep 2012 11:48:20 +0000 (11:48 +0000)]
code cleanup: replace macro for BLI_rect size/center with inline functions.

9 years agofix for bug in txt_undo_read_uint32() reading 4byte unicode values.
Campbell Barton [Sat, 15 Sep 2012 10:40:05 +0000 (10:40 +0000)]
fix for bug in txt_undo_read_uint32() reading 4byte unicode values.

9 years agoBuildbot: OpenColorIO should be enabled for buildbot now
Sergey Sharybin [Sat, 15 Sep 2012 10:29:59 +0000 (10:29 +0000)]
Buildbot: OpenColorIO should be enabled for buildbot now

9 years agoFix for collada -- some intermediate patch remained untweaked there
Sergey Sharybin [Sat, 15 Sep 2012 10:11:58 +0000 (10:11 +0000)]
Fix for collada -- some intermediate patch remained untweaked there

9 years agoColor Management, Stage 2: Switch color pipeline to use OpenColorIO
Sergey Sharybin [Sat, 15 Sep 2012 10:05:07 +0000 (10:05 +0000)]
Color Management, Stage 2: Switch color pipeline to use OpenColorIO

Replace old color pipeline which was supporting linear/sRGB color spaces
only with OpenColorIO-based pipeline.

This introduces two configurable color spaces:

- Input color space for images and movie clips. This space is used to convert
  images/movies from color space in which file is saved to Blender's linear
  space (for float images, byte images are not internally converted, only input
  space is stored for such images and used later).

  This setting could be found in image/clip data block settings.

- Display color space which defines space in which particular display is working.

  This settings could be found in scene's Color Management panel.

When render result is being displayed on the screen, apart from converting image
to display space, some additional conversions could happen.

This conversions are:

- View, which defines tone curve applying before display transformation.
  These are different ways to view the image on the same display device.
  For example it could be used to emulate film view on sRGB display.

- Exposure affects on image exposure before tone map is applied.

- Gamma is post-display gamma correction, could be used to match particular
  display gamma.

- RGB curves are user-defined curves which are applying before display
  transformation, could be used for different purposes.

All this settings by default are only applying on render result and does not
affect on other images. If some particular image needs to be affected by this
transformation, "View as Render" setting of image data block should be set to
truth. Movie clips are always affected by all display transformations.

This commit also introduces configurable color space in which sequencer is
working. This setting could be found in scene's Color Management panel and
it should be used if such stuff as grading needs to be done in color space
different from sRGB (i.e. when Film view on sRGB display is use, using VD16
space as sequencer's internal space would make grading working in space
which is close to the space using for display).

Some technical notes:

- Image buffer's float buffer is now always in linear space, even if it was
  created from 16bit byte images.

- Space of byte buffer is stored in image buffer's rect_colorspace property.

- Profile of image buffer was removed since it's not longer meaningful.

- OpenGL and GLSL is supposed to always work in sRGB space. It is possible
  to support other spaces, but it's quite large project which isn't so
  much important.

- Legacy Color Management option disabled is emulated by using None display.
  It could have some regressions, but there's no clear way to avoid them.

- If OpenColorIO is disabled on build time, it should make blender behaving
  in the same way as previous release with color management enabled.

More details could be found at this page (more details would be added soon):

Thanks to Xavier Thomas, Lukas Toene for initial work on OpenColorIO
integration and to Brecht van Lommel for some further development and code/
usecase review!

9 years agoColor Management, Stage 1: Initial OpenColorIO library integration
Sergey Sharybin [Sat, 15 Sep 2012 10:03:17 +0000 (10:03 +0000)]
Color Management, Stage 1: Initial OpenColorIO library integration

This commit integrates support of OpenColorIO library into build systems.

It also contains C-API for OpenColorIO library which could be used by Blender.

CMake has got find rules familiar to OpenImageIO's one which makes it easier
for build system to find needed libraries and includes. Scons only could use
explicitly defined paths to libraries and includes.

C-API would be compiled and Blender would be linked against C-API and OpenColorIO
but it wouldn't affect on Blender behavior at all.

OpenColorIO could be disabled by setting up WITH_OCIO to Off in CMake and
setting WITH_BF_OCIO in Scons.

9 years agoFix compilers warnings when legacy compositor is disabled
Sergey Sharybin [Sat, 15 Sep 2012 07:50:14 +0000 (07:50 +0000)]
Fix compilers warnings when legacy compositor is disabled

9 years agocode cleanup: remove more invalid/paranoid NULL checks
Campbell Barton [Sat, 15 Sep 2012 07:42:30 +0000 (07:42 +0000)]
code cleanup: remove more invalid/paranoid NULL checks

9 years agocode cleanup: remove paranoid/invalid NULL checks and also reduce some unneeded size_...
Campbell Barton [Sat, 15 Sep 2012 07:31:17 +0000 (07:31 +0000)]
code cleanup: remove paranoid/invalid NULL checks and also reduce some unneeded size_t -> int conversions.

9 years agofix for error in own recent commit adding node undo pushes. (bad use of sizeof)
Campbell Barton [Sat, 15 Sep 2012 07:30:11 +0000 (07:30 +0000)]
fix for error in own recent commit adding node undo pushes. (bad use of sizeof)

9 years agofix for 3 obvious mistakes/bugs.
Campbell Barton [Sat, 15 Sep 2012 06:30:40 +0000 (06:30 +0000)]
fix for 3 obvious mistakes/bugs.

9 years agocode cleanup: remove paranoid NULL checks (these cases would crash earlier of the...
Campbell Barton [Sat, 15 Sep 2012 06:29:32 +0000 (06:29 +0000)]
code cleanup: remove paranoid NULL checks (these cases would crash earlier of the vars were in fact NULL)

9 years agofix incorrect macro for mask handle selection checking.
Campbell Barton [Sat, 15 Sep 2012 06:10:48 +0000 (06:10 +0000)]
fix incorrect macro for mask handle selection checking.

9 years agocode cleanup: replace memcpy for copy_v3_v3(), and fix for unlikely crash - if (ob...
Campbell Barton [Sat, 15 Sep 2012 06:03:49 +0000 (06:03 +0000)]
code cleanup: replace memcpy for copy_v3_v3(), and fix for unlikely crash - if (ob->mat == NULL && ob->totcol)

9 years agosyntax error in previous commit
Campbell Barton [Sat, 15 Sep 2012 05:09:42 +0000 (05:09 +0000)]
syntax error in previous commit

9 years agoSilent compiler's warnings about tracking module
Sergey Sharybin [Sat, 15 Sep 2012 05:01:52 +0000 (05:01 +0000)]
Silent compiler's warnings about tracking module

9 years agocode cleanup: quiet some windows warnings.
Campbell Barton [Sat, 15 Sep 2012 04:57:51 +0000 (04:57 +0000)]
code cleanup: quiet some windows warnings.

9 years agocode cleanup: modify DO_INLINE define to not use __inline with mingw
Campbell Barton [Sat, 15 Sep 2012 02:29:47 +0000 (02:29 +0000)]
code cleanup: modify DO_INLINE define to not use __inline with mingw
make RegisterBlendExtension_Fail a static func

9 years agoquiet -Wmissing-prototypes warnings, and enable this warning by default for C with...
Campbell Barton [Sat, 15 Sep 2012 01:52:28 +0000 (01:52 +0000)]
quiet -Wmissing-prototypes warnings, and enable this warning by default for C with gcc.

helps for finding unused functions and making functions static, also did some minor code cleanup.

9 years agofix [#32381] Sculpt: crash when using radius sensitivity
Campbell Barton [Fri, 14 Sep 2012 23:34:00 +0000 (23:34 +0000)]
fix [#32381] Sculpt: crash when using radius sensitivity

9 years agostyle cleanup
Campbell Barton [Fri, 14 Sep 2012 23:11:47 +0000 (23:11 +0000)]
style cleanup

9 years agoCollada: #32549 partial fix: packed images now export correctly
Gaia Clary [Fri, 14 Sep 2012 22:31:26 +0000 (22:31 +0000)]
Collada: #32549 partial fix: packed images now export correctly

9 years agoImplemented the Particle Info for OSL. Uses the following attributes:
Lukas Toenne [Fri, 14 Sep 2012 19:09:25 +0000 (19:09 +0000)]
Implemented the Particle Info for OSL. Uses the following attributes:

* std::particle_index
* std::particle_age
* std::particle_lifetime
* std::particle_location
* std::particle_size
* std::particle_velocity
* std::particle_angular_velocity

Just as with SVM the rotation state attribute is currently disabled due to lack of a proper quaternion or matrix type in Cycles nodes.

9 years agoAdded Object Info node implementation for OSL. This uses an additional attribute...
Lukas Toenne [Fri, 14 Sep 2012 18:10:54 +0000 (18:10 +0000)]
Added Object Info node implementation for OSL. This uses an additional attribute check in the osl_services callback for special attribute names related to objects:

* std::object_location
* std::object_index
* std::material_index
* std::object_random

Other object-based attributes can be added for particle info in the same way.

9 years agoCorrection to rev50582: LABEL could have a1 = 1.0f and in this case a2 would be used...
Sergey Sharybin [Fri, 14 Sep 2012 16:41:00 +0000 (16:41 +0000)]
Correction to rev50582: LABEL could have a1 = 1.0f and in this case a2 would be used as alpha multiplier for icon

9 years agoDisable legacy compositor by default
Sergey Sharybin [Fri, 14 Sep 2012 15:21:56 +0000 (15:21 +0000)]
Disable legacy compositor by default

9 years agoMovie cache: made it thread safe to operate with memory limitor
Sergey Sharybin [Fri, 14 Sep 2012 14:55:59 +0000 (14:55 +0000)]
Movie cache: made it thread safe to operate with memory limitor

Movie cache is using global memory limitor, which isn't thread safe
in some of operations, so it required to add mutex around limitor
operations in movie cache.

It's probably could be solved in a way with less locks involved by
using different limitor for different areas (like use own limitor
for clips, own limitor for sequencer and so), but that wouldn't be
so easy to control overall memory usage.

svn merge -r50125:50126 ^/branches/soc-2011-tomato

9 years agoSequencer: clear cache and animation buffers for strips outside of cursor when rendering
Sergey Sharybin [Fri, 14 Sep 2012 14:28:24 +0000 (14:28 +0000)]
Sequencer: clear cache and animation buffers for strips outside of cursor when rendering

This avoids having bunch of cached images when doing animation rendering,
keeping all the memory available for rendered itself.

This keeps memory usage low when rendering huge edits with mixed
scenes and movie strips.

This should not affect on sped of video encoding, which was confirmed by
some own tests.

svn merge -r50051:50052 ^/branches/soc-2011-tomato

9 years agoCycles / Test:
Thomas Dinges [Fri, 14 Sep 2012 13:11:48 +0000 (13:11 +0000)]
Cycles / Test:
* Enable progressive flag, tiles are not working properly (Image gets brighter with more samples and no visible updates until all tiles are finished).

9 years agoCode cleanup: removed unused Cocoa image load/save code.
Brecht Van Lommel [Fri, 14 Sep 2012 11:42:05 +0000 (11:42 +0000)]
Code cleanup: removed unused Cocoa image load/save code.

9 years agofix for sharp edge selection being inverted, change default angle from 1 to 30deg.
Campbell Barton [Fri, 14 Sep 2012 11:10:03 +0000 (11:10 +0000)]
fix for sharp edge selection being inverted, change default angle from 1 to 30deg.

9 years agofixes for NULL checks, remove some redundant checks and add some in that have been...
Campbell Barton [Fri, 14 Sep 2012 06:17:14 +0000 (06:17 +0000)]
fixes for NULL checks, remove some redundant checks and add some in that have been removed by accident as code has been updated.

9 years agofix for out-of-bounds checks for fcurve modifier and poselib, also check for NULL...
Campbell Barton [Fri, 14 Sep 2012 06:15:46 +0000 (06:15 +0000)]
fix for out-of-bounds checks for fcurve modifier and poselib, also check for NULL members of avi structure (since they are checked for NULL later.)

9 years agocode cleanup: correct misleading use of LABEL button type.
Campbell Barton [Fri, 14 Sep 2012 05:44:47 +0000 (05:44 +0000)]
code cleanup: correct misleading use of LABEL button type.

9 years agoadd checking target `check_smatch`
Campbell Barton [Fri, 14 Sep 2012 05:08:48 +0000 (05:08 +0000)]
add checking target `check_smatch`

9 years agonode transform was using PET mode (drawing a circle - but it did nothing), disable...
Campbell Barton [Fri, 14 Sep 2012 01:28:26 +0000 (01:28 +0000)]
node transform was using PET mode (drawing a circle - but it did nothing), disable PET for nodes.

9 years agofix for 2 crashes freeing masks
Campbell Barton [Fri, 14 Sep 2012 01:15:08 +0000 (01:15 +0000)]
fix for 2 crashes freeing masks
- freeing a mask from RNA BKE_libblock_free() twice on the mask.
- loading a new blend file would only free the mask and not unlink it from nodes - it would access freed memory.

9 years agobge cleanup caught by accident while going over the code, it seems someone forgot...
Dalai Felinto [Thu, 13 Sep 2012 23:39:09 +0000 (23:39 +0000)]
bge cleanup caught by accident while going over the code, it seems someone forgot to use rect_height everywhere (no functional change)

9 years agoFix #32547: unwrap on default cube got broken in recent commit.
Brecht Van Lommel [Thu, 13 Sep 2012 13:29:10 +0000 (13:29 +0000)]
Fix #32547: unwrap on default cube got broken in recent commit.

9 years agoSequencer: add missed cache invalidation
Sergey Sharybin [Thu, 13 Sep 2012 10:51:18 +0000 (10:51 +0000)]
Sequencer: add missed cache invalidation

Invalidation was missed for:

- Strip (Un)Muting
- Changing speed effect
- Strip translating

9 years agoSequencer: fix invalid update when translating strip which is behind semi-transparent...
Sergey Sharybin [Thu, 13 Sep 2012 10:51:13 +0000 (10:51 +0000)]
Sequencer: fix invalid update when translating strip which is behind semi-transparent strip

9 years agofix [#31946] Masking doesn't respect pixel ratio
Campbell Barton [Thu, 13 Sep 2012 05:29:38 +0000 (05:29 +0000)]
fix [#31946] Masking doesn't respect pixel ratio

9 years agofix for drawing non 1:1 aspect masks, transform and selection still need support.
Campbell Barton [Thu, 13 Sep 2012 02:28:48 +0000 (02:28 +0000)]
fix for drawing non 1:1 aspect masks, transform and selection still need support.

9 years ago- cmake macro list_insert_after/list_insert_before now error when the item passed...
Campbell Barton [Thu, 13 Sep 2012 01:52:58 +0000 (01:52 +0000)]
- cmake macro list_insert_after/list_insert_before now error when the item passed is not found in the list.
- BKE_pose_copy_data() check for target pointer is no longer valid and infact comparing against un-initialized memory in some cases.

9 years agocode cleanup: reduce calls to CTX_ functions inline, add some docs to mask rasterizer.
Campbell Barton [Thu, 13 Sep 2012 01:50:21 +0000 (01:50 +0000)]
code cleanup: reduce calls to CTX_ functions inline, add some docs to mask rasterizer.

9 years agoBGE: LibLoaded sensors that made use of physics controllers (touch, collision) could...
Mitchell Stokes [Thu, 13 Sep 2012 00:46:50 +0000 (00:46 +0000)]
BGE: LibLoaded sensors that made use of physics controllers (touch, collision) could cause various physics problems (like infinite loops in Bullet, etc). This happened because their KX_TouchEventManagers were merged prior to having their physics controllers merged, which has now been fixed. Thanks to Kupoman for hunting down the fix!

9 years agomodifications needed to get a URL from an RNA id from the testing script
Campbell Barton [Thu, 13 Sep 2012 00:26:01 +0000 (00:26 +0000)]
modifications needed to get a URL from an RNA id from the testing script

9 years agotest script to check rna/wiki lookup completeness
Campbell Barton [Thu, 13 Sep 2012 00:17:38 +0000 (00:17 +0000)]
test script to check rna/wiki lookup completeness

9 years agofix for missing NULL check in own recent commit, thanks Gaia for pointing this out.
Campbell Barton [Wed, 12 Sep 2012 23:19:08 +0000 (23:19 +0000)]
fix for missing NULL check in own recent commit, thanks Gaia for pointing this out.

9 years agoCollada: do not call polylist export for objects with no polygons (avoid a missleadin...
Gaia Clary [Wed, 12 Sep 2012 18:26:01 +0000 (18:26 +0000)]
Collada: do not call polylist export for objects with no polygons (avoid a missleading warning message)

9 years agoFix #32338: particle instance modifier did not work well when the mesh had only
Brecht Van Lommel [Wed, 12 Sep 2012 16:42:24 +0000 (16:42 +0000)]
Fix #32338: particle instance modifier did not work well when the mesh had only
vertices. Previously it would hide particles by creating invalid faces, but this
didn't make the vertices actually disappear.

Also found that it could generated corrupt geometry for cases with faces, which
gave wrong subsurf and could crash in edit mode.

9 years ago#31682: corrected some minor typos in the comment
Gaia Clary [Wed, 12 Sep 2012 15:48:22 +0000 (15:48 +0000)]
#31682: corrected some minor typos in the comment

9 years ago#31682: partial fix (the export): Avoid to copy exported image into itself
Gaia Clary [Wed, 12 Sep 2012 15:41:58 +0000 (15:41 +0000)]
#31682: partial fix (the export): Avoid to copy exported image into itself

9 years agoFix #32543: screw modifier with smooth shading disabled still had one segment
Brecht Van Lommel [Wed, 12 Sep 2012 13:06:31 +0000 (13:06 +0000)]
Fix #32543: screw modifier with smooth shading disabled still had one segment
smooth shaded.

9 years agoFix #32031: particle distribution on degenerate faces could give NaN values,
Brecht Van Lommel [Wed, 12 Sep 2012 13:06:28 +0000 (13:06 +0000)]
Fix #32031: particle distribution on degenerate faces could give NaN values,
which in this case caused NaN values in render lighting.

9 years agoAttempted fix for #32415: tighten up cycles opencl initialization checks to try to
Brecht Van Lommel [Wed, 12 Sep 2012 11:25:47 +0000 (11:25 +0000)]
Attempted fix for #32415: tighten up cycles opencl initialization checks to try to
avoid crashes. Don't think these should be needed but maybe it helps.

9 years agofix [#31019] [Minor] Freshly added nodes aren't getting undo push
Campbell Barton [Wed, 12 Sep 2012 11:09:27 +0000 (11:09 +0000)]
fix [#31019] [Minor] Freshly added nodes aren't getting undo push

also noticed ED_undo_push was checking USER_GLOBALUNDO unnecessarily

9 years agoCycles UI:
Thomas Dinges [Wed, 12 Sep 2012 10:54:25 +0000 (10:54 +0000)]
Cycles UI:
* Non-Progressive UI couldn't be displayed if the device was set to GPU, but User Preferences Device was NULL. (for example when opening .blend file on another computer without GPU capabilities)

* Fix missing update in the Properties editor, when changing compute_device.

This fixes [#32115] OSX and cycles no non-progessive sample input settings appearing in interface.

9 years agoadd note that clip start is for perspective view only.
Campbell Barton [Wed, 12 Sep 2012 10:18:35 +0000 (10:18 +0000)]
add note that clip start is for perspective view only.

9 years agofix [#30324] VSE: Right-Click does not select directory
Campbell Barton [Wed, 12 Sep 2012 10:04:09 +0000 (10:04 +0000)]
fix [#30324] VSE: Right-Click does not select directory

9 years agofix [#32350] F11 play animation crash when UI language is not "Default"
Campbell Barton [Wed, 12 Sep 2012 08:06:06 +0000 (08:06 +0000)]
fix [#32350] F11 play animation crash when UI language is not "Default"

this is a bug in boost 1.46, can remove this env var override when this version of boost is no longer supported.

9 years agoadd clarification, without this the tool reads as if it makes the radius of each...
Campbell Barton [Wed, 12 Sep 2012 06:31:26 +0000 (06:31 +0000)]
add clarification, without this the tool reads as if it makes the radius of each selected vertex equal.

9 years agocode cleanup: replace BM_DISK_EDGE_LINK_GET define with inline function, that checks...
Campbell Barton [Wed, 12 Sep 2012 05:11:38 +0000 (05:11 +0000)]
code cleanup: replace BM_DISK_EDGE_LINK_GET define with inline function, that checks for the vertex not matching either of the edges verts.

9 years agofix [#31456] Extreme lag editing meshes
Campbell Barton [Wed, 12 Sep 2012 04:53:49 +0000 (04:53 +0000)]
fix [#31456] Extreme lag editing meshes

running BM_CHECK_ELEMENT was taking over 75% of the time to subdivide a mesh, since this only reports errors, and is so slow - only run this on non-release builds.

9 years agofix memory leak when baking feedback loop detected.
Campbell Barton [Wed, 12 Sep 2012 03:11:29 +0000 (03:11 +0000)]
fix memory leak when baking feedback loop detected.

9 years agofix [#32537] Inconsistent behaviour of Texture Baker
Campbell Barton [Wed, 12 Sep 2012 03:05:20 +0000 (03:05 +0000)]
fix [#32537] Inconsistent behaviour of Texture Baker

feedback looks wen't being detected in some cases causing very confusing behavior.

9 years agocode cleanup: changing the INT define to an enum conflicts with INT typedef on window...
Campbell Barton [Wed, 12 Sep 2012 00:32:33 +0000 (00:32 +0000)]
code cleanup: changing the INT define to an enum conflicts with INT typedef on windows, use more verbose names for button pointer types. also removed some redundant flags from buttons.

9 years agofix [#32444] Proportional Edit stays on on Pose Mode, after activating it in Object...
Campbell Barton [Tue, 11 Sep 2012 23:37:17 +0000 (23:37 +0000)]
fix [#32444] Proportional Edit stays on on Pose Mode, after activating it in Object Mode.

disable PET in posemode.

9 years agocode cleanup: use an enum for uiBut->pointype (more useful debug display of members),
Campbell Barton [Tue, 11 Sep 2012 23:10:23 +0000 (23:10 +0000)]
code cleanup: use an enum for uiBut->pointype (more useful debug display of members),
and rename COL -> COLOR --- less confusing since the layout engine has row/col's.

9 years agoa-z menu input now works for enum popups.
Campbell Barton [Tue, 11 Sep 2012 22:55:27 +0000 (22:55 +0000)]
a-z menu input now works for enum popups.