blender.git
9 years agoBuildbot:
Brecht Van Lommel [Sun, 18 Nov 2012 00:20:23 +0000 (00:20 +0000)]
Buildbot:
* Use rsync upload for Mac slave, rather than uploading entire file. This could
  be enabled for more slaves, should make more frequent builds possible.
* Split Mac into 10.6 and 10.5 builds.

9 years agoBuildbot: show OS X target version in buildbot zip filename.
Brecht Van Lommel [Sat, 17 Nov 2012 23:00:04 +0000 (23:00 +0000)]
Buildbot: show OS X target version in buildbot zip filename.

9 years agoInstall dependencies: added check for minimal version of x264
Sergey Sharybin [Sat, 17 Nov 2012 17:58:15 +0000 (17:58 +0000)]
Install dependencies: added check for minimal version of x264

Also fixed parsing of package version with epoch

9 years agoFix compositing normal node not properly showing vector XYZ values when opening
Brecht Van Lommel [Sat, 17 Nov 2012 16:11:02 +0000 (16:11 +0000)]
Fix compositing normal node not properly showing vector XYZ values when opening
socket menu, and make the normal animatable.

9 years agoFix render layer properties not being animatable.
Brecht Van Lommel [Sat, 17 Nov 2012 16:10:47 +0000 (16:10 +0000)]
Fix render layer properties not being animatable.

9 years agoOne more remained issue in legacy compositor, Hopefully last one.
Sergey Sharybin [Sat, 17 Nov 2012 15:34:06 +0000 (15:34 +0000)]
One more remained issue in legacy compositor, Hopefully last one.

9 years agoMono-core platform seem to not output the cores field in /proc/cpuinfo :/
Bastien Montagne [Sat, 17 Nov 2012 14:41:18 +0000 (14:41 +0000)]
Mono-core platform seem to not output the cores field in /proc/cpuinfo :/
Also adding gawk packages (gnu awk), looks like some distro do not have that one by default!

9 years agoWindows / Cmake:
Thomas Dinges [Sat, 17 Nov 2012 14:35:35 +0000 (14:35 +0000)]
Windows / Cmake:
* Another place where "psapi" was missing, caused OIIO errors.

9 years agoOld compositor should be compilable now
Sergey Sharybin [Sat, 17 Nov 2012 13:44:05 +0000 (13:44 +0000)]
Old compositor should be compilable now

9 years agoFix #33210: Diffuse Pass in scale node leads to problems
Sergey Sharybin [Sat, 17 Nov 2012 13:38:39 +0000 (13:38 +0000)]
Fix #33210: Diffuse Pass in scale node leads to problems

Was own mistake in render layers interpolation changes.

9 years agoInstall dependencies: workaround for SHA linking issues
Sergey Sharybin [Sat, 17 Nov 2012 12:59:24 +0000 (12:59 +0000)]
Install dependencies: workaround for SHA linking issues

9 years agoInstall dependencies: abort script if compilation of some component failed
Sergey Sharybin [Sat, 17 Nov 2012 12:10:35 +0000 (12:10 +0000)]
Install dependencies: abort script if compilation of some component failed

9 years agoOSX/scons: little cleanup to BF_PROGRAM_LINKFLAGS
Jens Verwiebe [Sat, 17 Nov 2012 12:09:50 +0000 (12:09 +0000)]
OSX/scons: little cleanup to BF_PROGRAM_LINKFLAGS

9 years agoInstall dependencies: disable OSL for now
Sergey Sharybin [Sat, 17 Nov 2012 11:57:10 +0000 (11:57 +0000)]
Install dependencies: disable OSL for now

It's really horror even for me to compile it on release environment,
i do not want anybody to spend time trying to support this lib in
automatic script or make it so user's are easily frustrated by some
hack added to OSL repository.

If you REALLY want to build OSL with this script, set BUILD_OSL to
truth (it's in the top of the script).

9 years agoInstall dependencies: dead links should not occur
Sergey Sharybin [Sat, 17 Nov 2012 11:42:37 +0000 (11:42 +0000)]
Install dependencies: dead links should not occur

9 years agoInstall dependencies: use OIIO 1.1.1 where SHA crap seems to be solved
Sergey Sharybin [Sat, 17 Nov 2012 11:35:13 +0000 (11:35 +0000)]
Install dependencies: use OIIO 1.1.1 where SHA crap seems to be solved

9 years agoMade sure open OIIO does not use system's boost in cases it was compiled from sources
Sergey Sharybin [Sat, 17 Nov 2012 11:28:12 +0000 (11:28 +0000)]
Made sure open OIIO does not use system's boost in cases it was compiled from sources

9 years agoInstall dependencies: made it sure llvm-3.1 or llvm-3.0 is installing
Sergey Sharybin [Sat, 17 Nov 2012 11:23:53 +0000 (11:23 +0000)]
Install dependencies: made it sure llvm-3.1 or llvm-3.0 is installing

llvm-dev could be a meta-package for older version of llvm

9 years agoFix #33209: Opening an image with image node on Compositing freezes Blender
Sergey Sharybin [Sat, 17 Nov 2012 11:07:46 +0000 (11:07 +0000)]
Fix #33209: Opening an image with image node on Compositing freezes Blender

Own mistake in image threading commit.

9 years agoplayanim: make alphanumeric +/- and numpad +/- work the same way.
Campbell Barton [Sat, 17 Nov 2012 06:32:35 +0000 (06:32 +0000)]
playanim: make alphanumeric +/- and numpad +/- work the same way.
better for users without a numpad.
- Ctrl +/-: Zooms
- +/-: Controls playback speed

9 years agoFix #33204: Blur node ignores Gamma setting
Sergey Sharybin [Sat, 17 Nov 2012 06:14:25 +0000 (06:14 +0000)]
Fix #33204: Blur node ignores Gamma setting

Gamma correction option was ignored by new compositor system.
Also new compositor was doing alpha premul in a wrong way. In fact,
not sure if it should do premul -- old compositor didn't do that..

9 years agoplayanim move zooming into a static function, the switch statement passthrough was...
Campbell Barton [Sat, 17 Nov 2012 06:05:37 +0000 (06:05 +0000)]
playanim move zooming into a static function, the switch statement passthrough was unnecessarily confusing.

9 years agoquiet scons deprecation warnings and correct --with_filesystem --> --with-filesystem...
Campbell Barton [Sat, 17 Nov 2012 05:16:54 +0000 (05:16 +0000)]
quiet scons deprecation warnings and correct --with_filesystem --> --with-filesystem in install_deps.sh

9 years agoanimation playback window now pauses properly.
Campbell Barton [Sat, 17 Nov 2012 04:47:33 +0000 (04:47 +0000)]
animation playback window now pauses properly.

9 years agofix for 'Playanim' playing past the last frame of an animation. also print -s and...
Campbell Barton [Sat, 17 Nov 2012 01:15:28 +0000 (01:15 +0000)]
fix for 'Playanim' playing past the last frame of an animation. also print -s and -e in help message.

9 years agouse quad-strip for filling even when no segments are being added, this gives quad...
Campbell Barton [Fri, 16 Nov 2012 21:25:11 +0000 (21:25 +0000)]
use quad-strip for filling even when no segments are being added, this gives quad-loops along the bevel whereas before it made ngons.

9 years agomore straightforward way to implement quad-strip face filling suggested by Howard...
Campbell Barton [Fri, 16 Nov 2012 21:05:27 +0000 (21:05 +0000)]
more straightforward way to implement quad-strip face filling suggested by Howard Trickey,

also some other changes - no need to check the new loops face is larger and no longer split up the ngon more times then there are subdivisions in the face strip (now ngons will remain on both sides).

9 years agoMore fixes and cleanup...
Bastien Montagne [Fri, 16 Nov 2012 17:14:01 +0000 (17:14 +0000)]
More fixes and cleanup...

Now OSL should work for DEB-like systems with CMake (not yet tested with scones, nor fedora).
Fedora version-checking bug should be fixed.
Also simplified a bit compile_FOO funcs code.

9 years agoOSX/scons/osl: use Xlinker for the BF_PROGRAM_LINKFLAGS, so we can alternative again...
Jens Verwiebe [Fri, 16 Nov 2012 15:18:14 +0000 (15:18 +0000)]
OSX/scons/osl: use Xlinker for the BF_PROGRAM_LINKFLAGS, so we can alternative again compile with gcc-4.6

9 years agoPython/Context: do not allow any UI context access from threads like render
Brecht Van Lommel [Fri, 16 Nov 2012 15:15:40 +0000 (15:15 +0000)]
Python/Context: do not allow any UI context access from threads like render
or baking. This basically means you will only have access to bpy.data and
bpy.context.scene, not current window, active object, etc, as those are not
thread safe anyway and were likely to cause issues already.

This fixes #30858, where the UI would lose buttons due to context getting
corrupted when editing objects in pre/post render or using luxrender. The
context access they did (indirectly) was only using the current scene or
data so they still work.

9 years agoOSX/scons/osl: working but not optimally designed atm
Jens Verwiebe [Fri, 16 Nov 2012 14:42:04 +0000 (14:42 +0000)]
OSX/scons/osl: working but not optimally designed atm

9 years agorework the bevel quad strip logic to work with ngons correctly, previously it only...
Campbell Barton [Fri, 16 Nov 2012 14:28:37 +0000 (14:28 +0000)]
rework the bevel quad strip logic to work with ngons correctly, previously it only worked properly with triangles.

9 years agofix for own bug in quad-stip fill method, quad strips were skewed.
Campbell Barton [Fri, 16 Nov 2012 13:41:21 +0000 (13:41 +0000)]
fix for own bug in quad-stip fill method, quad strips were skewed.

9 years agoFirst atempt to add OSL.
Bastien Montagne [Fri, 16 Nov 2012 12:42:01 +0000 (12:42 +0000)]
First atempt to add OSL.

DEB only for now: installs needed deps (LLVM & co), downloads OSL source and compiles the lib. However, blender linking fails currently... :/

9 years agoBLI_assert() when math functions that require are normalize vector are called without...
Campbell Barton [Fri, 16 Nov 2012 12:41:40 +0000 (12:41 +0000)]
BLI_assert() when math functions that require are normalize vector are called without one.

9 years agomore minor improvements to bevel use of math functions
Campbell Barton [Fri, 16 Nov 2012 12:33:24 +0000 (12:33 +0000)]
more minor improvements to bevel use of math functions

9 years agocode cleanup: remove unneeded normalize (face normal), and unneeded call to len_v3v3
Campbell Barton [Fri, 16 Nov 2012 12:25:15 +0000 (12:25 +0000)]
code cleanup: remove unneeded normalize (face normal), and unneeded call to len_v3v3

9 years agoWindows x64:
Thomas Dinges [Fri, 16 Nov 2012 12:18:47 +0000 (12:18 +0000)]
Windows x64:
* Fix compile after recent OIIO changes.

9 years agobevel: save some memory by aligning struct members.
Campbell Barton [Fri, 16 Nov 2012 10:15:25 +0000 (10:15 +0000)]
bevel: save some memory by aligning struct members.

9 years agowip - alternate bevel curve calculation (still disabled)
Campbell Barton [Fri, 16 Nov 2012 08:12:06 +0000 (08:12 +0000)]
wip - alternate bevel curve calculation (still disabled)

now USE_ALTERNATE_ADJ works, giving more stable corners that don't flicker and glitch out as the offset changes.

The shape is not a circle though and doesnt look quite as nice as the existing method.

9 years agodebug utility for drawing in the 3d viewport (uncomment define to use), helpful for...
Campbell Barton [Fri, 16 Nov 2012 07:56:47 +0000 (07:56 +0000)]
debug utility for drawing in the 3d viewport (uncomment define to use), helpful for debugging modifiers/bmesh code, especially other peoples :)

9 years agominor edits so new bevel operator can be used from the modifier (testing only, still...
Campbell Barton [Fri, 16 Nov 2012 03:23:46 +0000 (03:23 +0000)]
minor edits so new bevel operator can be used from the modifier (testing only, still disabled by default)

9 years agofix [#33180] text editor line height issue
Justin Dailey [Fri, 16 Nov 2012 01:12:01 +0000 (01:12 +0000)]
fix [#33180] text editor line height issue

Added small space between lines in the text editor.

9 years agoOSX/scons/osl: ready for compile now, little hack to be resolved, todo:fix a crash...
Jens Verwiebe [Fri, 16 Nov 2012 00:43:28 +0000 (00:43 +0000)]
OSX/scons/osl: ready for compile now, little hack to be resolved, todo:fix a crash with shadercompile

9 years agobevel: wip ifdef'd code to test an alternative method of placing corner vertices.
Campbell Barton [Thu, 15 Nov 2012 23:21:21 +0000 (23:21 +0000)]
bevel: wip ifdef'd code to test an alternative method of placing corner vertices.

9 years agocode cleanup: some renaming to avoid confusion.
Campbell Barton [Thu, 15 Nov 2012 22:32:29 +0000 (22:32 +0000)]
code cleanup: some renaming to avoid confusion.

9 years agocode cleanup: replace most DO_MINMAX2 -> minmax_v2v2_v2
Campbell Barton [Thu, 15 Nov 2012 22:20:18 +0000 (22:20 +0000)]
code cleanup: replace most DO_MINMAX2 -> minmax_v2v2_v2
also add UNPACK macros's. handy for printing vectors for eg.

9 years agoFix #33170: cycles viewport update issue with motion blur enabled
Brecht Van Lommel [Thu, 15 Nov 2012 21:52:17 +0000 (21:52 +0000)]
Fix #33170: cycles viewport update issue with motion blur enabled
(which is supposed to do nothing in this case).

9 years agoOSX/scons/osl: initial osl compiling, todo: fix shader compile and copy to bundle
Jens Verwiebe [Thu, 15 Nov 2012 21:35:25 +0000 (21:35 +0000)]
OSX/scons/osl: initial osl compiling, todo: fix shader compile and copy to bundle

9 years agoFix #33188: AO pass wrong after recent change.
Brecht Van Lommel [Thu, 15 Nov 2012 21:32:05 +0000 (21:32 +0000)]
Fix #33188: AO pass wrong after recent change.

9 years agoFix #33192: Opening Blender breaks drag-and-drop support on the KDE desktop
Sergey Sharybin [Thu, 15 Nov 2012 20:50:48 +0000 (20:50 +0000)]
Fix #33192: Opening Blender breaks drag-and-drop support on the KDE desktop

Do not set root window as DND aware.

9 years ago* Fix typo in cmake, own fault.
Thomas Dinges [Thu, 15 Nov 2012 20:21:33 +0000 (20:21 +0000)]
* Fix typo in cmake, own fault.

9 years agoWindows / CMake:
Thomas Dinges [Thu, 15 Nov 2012 19:45:37 +0000 (19:45 +0000)]
Windows / CMake:
* Disable Debug Boost detection in cmake. Debug libs for boost will be removed, they are quite huge in svn.
Keeping the lines here though, so devs with own debug libs can compile with it.

9 years agoWindows OIIO:
Thomas Dinges [Thu, 15 Nov 2012 19:37:29 +0000 (19:37 +0000)]
Windows OIIO:
* bin/OpenImageIO.dll not needed anymore, now statically linked.

9 years agoEnable OSL for linux 32 bit builders, it should work now
Sergey Sharybin [Thu, 15 Nov 2012 19:26:11 +0000 (19:26 +0000)]
Enable OSL for linux 32 bit builders, it should work now

9 years agoAdd some missing Node rna update calls
Dan Eicher [Thu, 15 Nov 2012 17:55:11 +0000 (17:55 +0000)]
Add some missing Node rna update calls

9 years agoAnother nuch of fixes/improvements to install_deps script, among which:
Bastien Montagne [Thu, 15 Nov 2012 17:31:18 +0000 (17:31 +0000)]
Another nuch of fixes/improvements to install_deps script, among which:
*New $INST variable to easily change the installation root dir of compiled libs.
*Better handling of versions for debian (DEB) too (and fix a bug for fedora (RPM) ones).
*Enhancements/fixes to compile_FOO funcs:
**Most notable, we now can force a recompile when we change something into these funcs, so user will always have latest-instructions compiled libs (else, he would have have to manually remove lib dirs under $INST...)
*General naming cleanup inside script (still wip).

Also adding boost date_time lib to linux in cmake file (why wasn't it there???).

9 years agoCycles OSL: windows build system changes to support static OSL/OIIO.
Brecht Van Lommel [Thu, 15 Nov 2012 17:16:27 +0000 (17:16 +0000)]
Cycles OSL: windows build system changes to support static OSL/OIIO.

9 years agoWindows / Scons OSL:
Thomas Dinges [Thu, 15 Nov 2012 16:34:22 +0000 (16:34 +0000)]
Windows / Scons OSL:
* Initial support, still commented.

9 years agoImage thread safe improvements
Sergey Sharybin [Thu, 15 Nov 2012 15:59:58 +0000 (15:59 +0000)]
Image thread safe improvements

This commit makes BKE_image_acquire_ibuf referencing result, which means once
some area requested for image buffer, it'll be guaranteed this buffer wouldn't
be freed by image signal.

To de-reference buffer BKE_image_release_ibuf should now always be used.

To make referencing working correct we can not rely on result of
image_get_ibuf_threadsafe called outside from thread lock. This is so because
we need to guarantee getting image buffer from list of loaded buffers and it's
referencing happens atomic. Without lock here it is possible that between call
of image_get_ibuf_threadsafe and referencing the buffer IMA_SIGNAL_FREE would
be called. Image signal handling too is blocking now to prevent such a
situation.

Threads are locking by spinlock, which are faster than mutexes. There were some
slowdown reports in the past about render slowdown when using OSX on Xeon CPU.
It shouldn't happen with spin locks, but more tests on different hardware would
be really welcome. So far can not see speed regressions on own computers.

This commit also removes BKE_image_get_ibuf, because it was not so intuitive
when get_ibuf and acquire_ibuf should be used.

Thanks to Ton and Brecht for discussion/review :)

9 years agoCycles: ambient occlusion now takes per-BSDF normals into account.
Brecht Van Lommel [Thu, 15 Nov 2012 15:37:58 +0000 (15:37 +0000)]
Cycles: ambient occlusion now takes per-BSDF normals into account.

9 years agoFix #33183: cycles bump mapping was not executed with only an AO node in a material.
Brecht Van Lommel [Thu, 15 Nov 2012 14:08:46 +0000 (14:08 +0000)]
Fix #33183: cycles bump mapping was not executed with only an AO node in a material.

9 years agoCorrection to 32bit buildslaves
Sergey Sharybin [Thu, 15 Nov 2012 13:26:32 +0000 (13:26 +0000)]
Correction to 32bit buildslaves

9 years agocode cleanup: move local math functions into math_geom.c, math_vector.c, no functiona...
Campbell Barton [Thu, 15 Nov 2012 13:24:14 +0000 (13:24 +0000)]
code cleanup: move local math functions into math_geom.c, math_vector.c, no functional changes.

9 years agoOSL Scons rules
Sergey Sharybin [Thu, 15 Nov 2012 13:11:12 +0000 (13:11 +0000)]
OSL Scons rules

Initial support of OSL builds using SCons build system. Only tested on Linux now.
No changes to configuration files themselves -- for now check how it's configured
for linux buildbot (it was already horror to make all this changes and verify them,
changes to linux-config.py could easily be done later).

Currently WITH_BF_STATICOSL and WITH_BF_STATICLLVM are more like rudiments because
linking against oslexec requires special trick with --whole-archive. We woul either
need to find a way dealing with this oslexec less hackish or drop STATICOSL and
STATICLLVM flags. Will keep dropping this flags for until we have "final" build
rules for OSL.

Still can not make 32bit linux rendering with OSL -- blender simply crashes when
starting rendering. So for time being this issues are solving disabled OSL for
32bit build slaves.

9 years agoZ sampling for nodes backdrop
Dalai Felinto [Thu, 15 Nov 2012 13:10:24 +0000 (13:10 +0000)]
Z sampling for nodes backdrop
As it turned out,  the node space was the only place we have the option to sample the backdrop buffer RGB, but not the zed.
This code is copied from image space.

Now one can use the viewer node and sample the depth while looking at the color buffer (so Map Range Node works even better)
Patch written during BlenderPRO 2012, Brasília ;)
(reviewed by Lukas Toenne)

9 years agofix [#33179] Can't delete centered edge loop if x-mirror is activated
Campbell Barton [Thu, 15 Nov 2012 06:10:09 +0000 (06:10 +0000)]
fix [#33179] Can't delete centered edge loop if x-mirror is activated

9 years agofix for 3d text input failing for non utf8 input.
Campbell Barton [Thu, 15 Nov 2012 06:02:32 +0000 (06:02 +0000)]
fix for 3d text input failing for non utf8 input.

9 years agofix for deleting lines hanging the text editor when no markers are used, presence...
Campbell Barton [Thu, 15 Nov 2012 02:11:40 +0000 (02:11 +0000)]
fix for deleting lines hanging the text editor when no markers are used, presence of markers still hangs.

also compiler warnings and some style edits.

9 years agoFix 'polygon eating' problem in bevel (bug #33141)
Howard Trickey [Thu, 15 Nov 2012 02:05:32 +0000 (02:05 +0000)]
Fix 'polygon eating' problem in bevel (bug #33141)
which was due to almost-parallel lines.

9 years agolooks like we need those libs as well to compile with static ffmpeg on fedora (by...
Bastien Montagne [Wed, 14 Nov 2012 23:20:16 +0000 (23:20 +0000)]
looks like we need those libs as well to compile with static ffmpeg on fedora (by why in hell librt???)...

9 years agoPatch [#31006] Text editor undo buffer rework.
Justin Dailey [Wed, 14 Nov 2012 23:10:19 +0000 (23:10 +0000)]
Patch [#31006] Text editor undo buffer rework.

9 years agoFix OSL build error on linux.
Brecht Van Lommel [Wed, 14 Nov 2012 22:45:44 +0000 (22:45 +0000)]
Fix OSL build error on linux.

9 years agofix range map node clipping when max < min
Dalai Felinto [Wed, 14 Nov 2012 22:15:45 +0000 (22:15 +0000)]
fix range map node clipping when max < min
(useful for flipping the values inside the node)

9 years agoFixes, mostly for RPM (tested on fedora17):
Bastien Montagne [Wed, 14 Nov 2012 21:57:47 +0000 (21:57 +0000)]
Fixes, mostly for RPM (tested on fedora17):
*Better handling of optional libs for ffmpeg, and is now able to check and give user additional link libs for ffmpeg.
*Added two helpers (only used by RPM for now) to:
**check whether a version number is greater or equal than another one, and...
**check whether a version number is "included" into another one (eg 3.3.2 is included into more general 3.3).
*Added date-time as target when building our own boost.
*Removed apt-get upgrade action for DEB (let the user decide when he wants to globally upgrade its system!).

9 years agoMap Range Node (tiles)
Dalai Felinto [Wed, 14 Nov 2012 19:53:46 +0000 (19:53 +0000)]
Map Range Node (tiles)
this node allows for more control for normalization of the mapped input range.

Made during BlenderPRO 2012 - Brasilia, Brazil :)
Idea and testing: Daniel Salazar
Implementation: yours truly
Reviewed by Lukas Toenne and Sergey Sharybin

9 years agoCycles OSL: windows build fixes.
Brecht Van Lommel [Wed, 14 Nov 2012 17:18:47 +0000 (17:18 +0000)]
Cycles OSL: windows build fixes.

9 years agofix [#33169] Interface destroyed after Text Object Edit
Campbell Barton [Wed, 14 Nov 2012 14:47:45 +0000 (14:47 +0000)]
fix [#33169] Interface destroyed after Text Object Edit

9 years agouse memarena for bevel allocs
Campbell Barton [Wed, 14 Nov 2012 11:06:58 +0000 (11:06 +0000)]
use memarena for bevel allocs

9 years agouse ghash for bevel verts, saves list lookups when getting a BMVert's BevVert
Campbell Barton [Wed, 14 Nov 2012 10:23:38 +0000 (10:23 +0000)]
use ghash for bevel verts, saves list lookups when getting a BMVert's BevVert

9 years agospeedup bevel by tagging verts and edges to bevel, this avoids a loop over all bevel...
Campbell Barton [Wed, 14 Nov 2012 10:08:39 +0000 (10:08 +0000)]
speedup bevel by tagging verts and edges to bevel, this avoids a loop over all bevel edges for each bevel vert (can use edges-of-vert instead)

9 years agoremove ifdef'd bevel code, current bevel works better then the previous code.
Campbell Barton [Wed, 14 Nov 2012 09:45:15 +0000 (09:45 +0000)]
remove ifdef'd bevel code, current bevel works better then the previous code.
reduce strlen check in texttool_suggest_add()
use 'del list[:]' rather then 'list[:] = []' in python scripts which clear lists.

9 years agoFix #33166: Wrong profile name in config.ocio causes crash
Sergey Sharybin [Wed, 14 Nov 2012 08:12:53 +0000 (08:12 +0000)]
Fix #33166: Wrong profile name in config.ocio causes crash

In this case we can not validate OCIO configuration and the only way
to fix such issues is to add NULL-pointer checks..

9 years agoFix for oiio/ocio/boost in those scons config, else specifying a custom "root" path...
Bastien Montagne [Wed, 14 Nov 2012 08:12:52 +0000 (08:12 +0000)]
Fix for oiio/ocio/boost in those scons config, else specifying a custom "root" path for those libs in user-config.py is useless!

9 years agoFix #33171: Sculpt lag in recent builds
Sergey Sharybin [Wed, 14 Nov 2012 08:05:40 +0000 (08:05 +0000)]
Fix #33171: Sculpt lag in recent builds

Issue was caused by own previous change in PBVH which in this case
lead to unneeded draw buffers rebuilding.

9 years agofix for the update issue reported in [#32452]
Campbell Barton [Wed, 14 Nov 2012 06:13:42 +0000 (06:13 +0000)]
fix for the update issue reported in [#32452]

When blending shape key, opening the popup didnt execute anything - making it so pressing a button would update the result even if the value didnt change.

9 years agoadd 'use_unselected' option to UV_OT_remove_doubles,
Campbell Barton [Wed, 14 Nov 2012 04:02:43 +0000 (04:02 +0000)]
add 'use_unselected' option to UV_OT_remove_doubles,
handy of you have a UV island that doesnt quite fit into its surrounding UV's - its a quick way to snap selected -> unselected UV's.

9 years agoeach different remove doubles function used a different property name, use 'threshold...
Campbell Barton [Wed, 14 Nov 2012 03:13:51 +0000 (03:13 +0000)]
each different remove doubles function used a different property name, use 'threshold'  for all now.

9 years agospeedup to uv remove doubles.
Campbell Barton [Wed, 14 Nov 2012 02:58:43 +0000 (02:58 +0000)]
speedup to uv remove doubles.
- no need to copy the UV vectors, just point to them.
- calculate the midpoint once and copy rather then mid_v2_v2v2() on each UV.
- reduce the number of comparisons by only checking the remaining uv's in the nested loop.

9 years agostyle cleanup: with uv remove doubles, weld distance soft/hard ranges were wrong...
Campbell Barton [Wed, 14 Nov 2012 02:03:34 +0000 (02:03 +0000)]
style cleanup: with uv remove doubles, weld distance soft/hard ranges were wrong rename to "Remove Doubles UV" to avoid confusion with the mesh operator of the same name.

9 years agobuildsystem cleanup: remove duplicate source & includes for scons,
Campbell Barton [Wed, 14 Nov 2012 01:41:24 +0000 (01:41 +0000)]
buildsystem cleanup: remove duplicate source & includes for scons,
add a check for duplicates in BlenderLib()m, if 0'd now.

9 years agoscons/warningfix: remove mask_evaluate.c from blenkernel/intern, as it is already...
Jens Verwiebe [Tue, 13 Nov 2012 19:17:35 +0000 (19:17 +0000)]
scons/warningfix: remove mask_evaluate.c from blenkernel/intern, as it is already build

9 years agoAdded 'remove doubles' tool to uv editor.
Matthew Smith [Tue, 13 Nov 2012 18:29:29 +0000 (18:29 +0000)]
Added 'remove doubles' tool to uv editor.

9 years agoFixes for scons
Bastien Montagne [Tue, 13 Nov 2012 18:12:57 +0000 (18:12 +0000)]
Fixes for scons

9 years agoAdding an escape for '/' char inside the regex's char classe, looks like it is needed...
Bastien Montagne [Tue, 13 Nov 2012 18:04:52 +0000 (18:04 +0000)]
Adding an escape for '/' char inside the regex's char classe, looks like it is needed for ubuntu 's awk but not mandatory for debian's awk??? Anyway, does not arm... ;)

9 years agoDocs update for r52164
Mitchell Stokes [Tue, 13 Nov 2012 17:50:18 +0000 (17:50 +0000)]
Docs update for r52164

9 years agoAdd more info to make ffmpeg work "out of the box" for DEB systems:
Bastien Montagne [Tue, 13 Nov 2012 16:42:36 +0000 (16:42 +0000)]
Add more info to make ffmpeg work "out of the box" for DEB systems:
*For CMake, enable ffmpeg (it is disabled by default...)
*Give the full list a librairies to link.

Tested on Debian for CMake (did not test scons at all for now, anyway). Not yet implemented for RPM/SUSE distribs, but this should not be too hard.

9 years agoBugfix, IRC report:
Ton Roosendaal [Tue, 13 Nov 2012 15:47:22 +0000 (15:47 +0000)]
Bugfix, IRC report:

The "Add Monkey" object name should be Suzanne - as it was until 2.50. :)

9 years agocode cleanup: use ptrdiff_t when comparing pointers and tag event as an unused arg...
Campbell Barton [Tue, 13 Nov 2012 15:46:55 +0000 (15:46 +0000)]
code cleanup: use ptrdiff_t when comparing pointers and tag event as an unused arg to move_to_layer_invoke()

9 years agoBugfix #33161
Ton Roosendaal [Tue, 13 Nov 2012 15:36:46 +0000 (15:36 +0000)]
Bugfix #33161

The new node that outputs multilayer was using longer names than default.
Caused old code that truncated pass names to 11 chars to fail on loading exr.

This was an old limit in openexr - but that got fixed long ago.

On todo: check current openexr name lenghts, and all code in Blender that
defines pass/layer names.