blender.git
9 years agoMingw x64:
Thomas Dinges [Tue, 20 Nov 2012 01:26:21 +0000 (01:26 +0000)]
Mingw x64:
* Iconv libs have been removed from SVN, disable it. This hopefully fixes the buildbot.

9 years agoWindows / OSL:
Thomas Dinges [Tue, 20 Nov 2012 00:54:32 +0000 (00:54 +0000)]
Windows / OSL:
* Enable OSL for Windows and Windows Buildbot.

9 years agofix for crash in wireframe tool with verts that only have one boundary edge (degenera...
Campbell Barton [Tue, 20 Nov 2012 00:33:11 +0000 (00:33 +0000)]
fix for crash in wireframe tool with verts that only have one boundary edge (degenerate cases - edge with 3+ faces using it).

9 years agofix for changes in own recent commit:
Campbell Barton [Mon, 19 Nov 2012 23:52:24 +0000 (23:52 +0000)]
fix for changes in own recent commit:
selected linked in face mode was crashing. (needs bmesh operator flags)

also some style edits, remove unused includes and change triangulate modifiers use_beauty to a flag.

9 years agoCustom icon for triangulate modifier.
Antony Riakiotakis [Mon, 19 Nov 2012 23:35:38 +0000 (23:35 +0000)]
Custom icon for triangulate modifier.

9 years agoFix #33237, crash creeped in due to the fact that bmesh-operator-using modifiers...
Antony Riakiotakis [Mon, 19 Nov 2012 23:33:02 +0000 (23:33 +0000)]
Fix #33237, crash creeped in due to the fact that bmesh-operator-using modifiers now need to allocate flags. Added initialization

9 years agoTriangulate modifier
Antony Riakiotakis [Mon, 19 Nov 2012 20:40:08 +0000 (20:40 +0000)]
Triangulate modifier

Useful for bump map baking where a consistent triangulation should be enforced when baking/exporting/importing, to avoid artifacts caused by a different triangulation of the mesh by that which was used for baking by internal/external tools.

documentation is here http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.65/More_Features

Will probably add some pictures too to demonstrate the issue that is solved more clearly.
Currently using the skin modifier icon, will soon change that.

Review by Brecht, thanks!

9 years agoUpdate to use new WITH_STATIC_LIBS CMake flag when ALL_STATIC is true.
Bastien Montagne [Mon, 19 Nov 2012 20:24:06 +0000 (20:24 +0000)]
Update to use new WITH_STATIC_LIBS CMake flag when ALL_STATIC is true.

9 years agoAdding a linux-only WITH_STATIC_LIBS option, which will try to link against static...
Bastien Montagne [Mon, 19 Nov 2012 19:43:03 +0000 (19:43 +0000)]
Adding a linux-only WITH_STATIC_LIBS option, which will try to link against static libs. This should help building more portable blender. Still experimental and WIP.

9 years ago* Fix Windows compile. #ifdef _MSC_VER was misspelled.
Thomas Dinges [Mon, 19 Nov 2012 19:28:06 +0000 (19:28 +0000)]
* Fix Windows compile. #ifdef _MSC_VER was misspelled.

9 years agoMinor spellchaeck in UI message.
Bastien Montagne [Mon, 19 Nov 2012 19:26:23 +0000 (19:26 +0000)]
Minor spellchaeck in UI message.

9 years agoMore tweaks:
Bastien Montagne [Mon, 19 Nov 2012 19:11:01 +0000 (19:11 +0000)]
More tweaks:
* Prevent ocio from building its python binding, we don't use it, and it looks like OCIO's CMakeList is not robust here (i.e. can try to build it even when Python.h is not found :/ [irc report]).
* Do not build ffmpeg's player, server nor doc.
* Give right paths to static extra libs for ffmpeg when ALL_STATIC is true.

9 years agoOSX/osl: link also boost_wave, cause we use its preprocessor now
Jens Verwiebe [Mon, 19 Nov 2012 19:10:31 +0000 (19:10 +0000)]
OSX/osl: link also boost_wave, cause we use its preprocessor now

9 years agoBring back debug boost libs to cmake. Also use debug version of OIIO for debug builds.
Sergey Sharybin [Mon, 19 Nov 2012 18:07:55 +0000 (18:07 +0000)]
Bring back debug boost libs to cmake. Also use debug version of OIIO for debug builds.

SO now blender could be debugged on windows again!

There'll likely be compilation error of debug version of blender using msvc2010, not
currently sure how to solve that in a good way.

9 years agoFix #33234: Search string crashes Blender
Sergey Sharybin [Mon, 19 Nov 2012 17:31:31 +0000 (17:31 +0000)]
Fix #33234: Search string crashes Blender

Own regression since image threading safe commit.

9 years agoImproved FFmpeg error reports when audio stream failed to be allocated
Sergey Sharybin [Mon, 19 Nov 2012 17:22:40 +0000 (17:22 +0000)]
Improved FFmpeg error reports when audio stream failed to be allocated

Also fixed crash using --debug-ffmpeg caused by BLI_vsnprintf modifies
va_list -- need to create copy of list if this list is gonna to be reused.

9 years agoOSX/scons/osl: un-hardcode the osl libpath
Jens Verwiebe [Mon, 19 Nov 2012 17:15:33 +0000 (17:15 +0000)]
OSX/scons/osl: un-hardcode the osl libpath

9 years agoFix #33223: Instant Crash on Window minimize
Sergey Sharybin [Mon, 19 Nov 2012 16:46:48 +0000 (16:46 +0000)]
Fix #33223: Instant Crash on Window minimize

Issue was caused by manipulating with triple buffers of minimized window.
It's more like an Intel driver bug but we can workaround it in quite clear
way by skipping draw of minimized windows.

9 years agoFix #33229: Blender crashes on finishing render
Sergey Sharybin [Mon, 19 Nov 2012 16:42:14 +0000 (16:42 +0000)]
Fix #33229: Blender crashes on finishing render

9 years agoWindows Libs: move OpenEXR headers to same directory structure as other platforms.
Brecht Van Lommel [Mon, 19 Nov 2012 16:02:29 +0000 (16:02 +0000)]
Windows Libs: move OpenEXR headers to same directory structure as other platforms.

9 years agoScons: better fix for OSL compiler path, so it also works on OS X.
Brecht Van Lommel [Mon, 19 Nov 2012 15:50:28 +0000 (15:50 +0000)]
Scons: better fix for OSL compiler path, so it also works on OS X.

9 years agoImplementation of string lookup functions for collections in the C API. These were...
Lukas Toenne [Mon, 19 Nov 2012 15:18:08 +0000 (15:18 +0000)]
Implementation of string lookup functions for collections in the C API. These were declared in RNA_blender.h but not actually implemented in the respective *_gen.c files.

9 years agouse input and output slots for bmesh operators, needed for the python api to get...
Campbell Barton [Mon, 19 Nov 2012 14:58:31 +0000 (14:58 +0000)]
use input and output slots for bmesh operators, needed for the python api to get return values.

9 years agoSCons: make OSL linking work on windows, and fix OSL compiler path issue to
Brecht Van Lommel [Mon, 19 Nov 2012 14:54:35 +0000 (14:54 +0000)]
SCons: make OSL linking work on windows, and fix OSL compiler path issue to
properly expand to absolute path.

9 years agoLocalization should not depend on debug locale library
Sergey Sharybin [Mon, 19 Nov 2012 13:15:11 +0000 (13:15 +0000)]
Localization should not depend on debug locale library

Linking happens fine, but blender crashes on startup -- crash with familiar
backtrace happens with i18n disabled (in that case it's something to do with OIIO).

9 years agoOSX/scons: refine oslc compile workaround
Jens Verwiebe [Mon, 19 Nov 2012 11:46:55 +0000 (11:46 +0000)]
OSX/scons: refine oslc compile workaround

9 years agoOSX/cmake: py 3.3 migration
Jens Verwiebe [Mon, 19 Nov 2012 11:45:25 +0000 (11:45 +0000)]
OSX/cmake: py 3.3 migration

9 years agoBasic work for an ALL_STATIC option, to enable when you want to build blender in...
Bastien Montagne [Mon, 19 Nov 2012 11:12:30 +0000 (11:12 +0000)]
Basic work for an ALL_STATIC option, to enable when you want to build blender in a portable way. Still WIP!

9 years agoNo boost system when we have own compiled version!
Bastien Montagne [Mon, 19 Nov 2012 10:45:03 +0000 (10:45 +0000)]
No boost system when we have own compiled version!

9 years agoOSX/scons: migration to py 3.3
Jens Verwiebe [Mon, 19 Nov 2012 10:14:55 +0000 (10:14 +0000)]
OSX/scons: migration to py 3.3

9 years agoFix when statically linking with distro's boost: in this case, we most likely also...
Bastien Montagne [Mon, 19 Nov 2012 08:51:35 +0000 (08:51 +0000)]
Fix when statically linking with distro's boost: in this case, we most likely also need to statically link against icu, as most boost packages are built with it. Without that, you get a bunch of errors at link time (when using boost_locale, or, in freestyle branch, boost_regex).

So when you enable Boost_USE_STATIC_LIBS, you should also set Boost_USE_ICU to True. Will add a note about that in build doc too.

9 years agoDefinitive fix for version_ge with equal versions like "1.0.0" and "1.0".
Bastien Montagne [Mon, 19 Nov 2012 08:48:21 +0000 (08:48 +0000)]
Definitive fix for version_ge with equal versions like "1.0.0" and "1.0".
Also fixed DEB boost version checking, own fault.
And disabled building ocio's apps, else it would go searching for an oiio lib (and we have not yet built ours) - anyway, if users want them, they can build them on their own!

9 years agoimprovements to bevel
Campbell Barton [Mon, 19 Nov 2012 02:26:59 +0000 (02:26 +0000)]
improvements to bevel
- the resulting selection is now correct

internal details
- bev_rebuild_polygon() now only rebuilds polygons that are attached to a bevel vertex (was rebuilding ALL).
  ... need to take care we don't leave faces pointing to removed geometry, so far this works fine.

-  bev_rebuild_polygon() uses stack memory for <32 size ngons to reduce allocs.

- skip hash lookup when removing bevel verts (use tag instead).

9 years agobmesh: BM_verts_in_face was using bmesh operator flag which is no longer ensured...
Campbell Barton [Mon, 19 Nov 2012 00:54:55 +0000 (00:54 +0000)]
bmesh: BM_verts_in_face was using bmesh operator flag which is no longer ensured to be available,
use internal apiflag instead, Thanks to Nicholas Bishop for spotting.

also quiet some warnings.

9 years agoBGE: The Step Height for a character physics controller is now set to 0.01, which...
Mitchell Stokes [Sun, 18 Nov 2012 20:56:50 +0000 (20:56 +0000)]
BGE: The Step Height for a character physics controller is now set to 0.01, which means that Step Height can no longer be 0, which causes issues such as those noted in issue #33221, "KX_CharacterWrapper inconsistencies and error," reported by Angus Hollands (agoose77). I've also added a do_versions() fix that will give objects with 0 Step Height sane defaults. This means old files will now work better with character physics.

9 years agoBGE: Changing "transform_uv" -> "transformUV" in some error messages.
Mitchell Stokes [Sun, 18 Nov 2012 20:38:27 +0000 (20:38 +0000)]
BGE: Changing "transform_uv" -> "transformUV" in some error messages.

9 years agoPartial fix to version_ge (greater or equal), was not working correctly with eaqual...
Bastien Montagne [Sun, 18 Nov 2012 20:31:58 +0000 (20:31 +0000)]
Partial fix to version_ge (greater or equal), was not working correctly with eaqual versions, now will do with exact same versions at least (yet have to fix case like comparing 1.0 and 1.0.0).

Also refactored a bit osl/llvm/etc. stuff for DEB (so that now all osl-deps are only installed when we do have a valid llvm and want to [try to!] build osl).

And added osl/llvm/etc. code for RPM (osl does not compile under fedora currently, though :/ ).

9 years agoMore cleanup/deduplication. Also explicitly using gawk (so system without it should...
Bastien Montagne [Sun, 18 Nov 2012 17:47:26 +0000 (17:47 +0000)]
More cleanup/deduplication. Also explicitly using gawk (so system without it should print a much comprehensive error message!).

Note: RPM-related edits not yet tested.

9 years agoBetter handing of llvm version (now we can be sure to use the same for osl and blende...
Bastien Montagne [Sun, 18 Nov 2012 17:27:29 +0000 (17:27 +0000)]
Better handing of llvm version (now we can be sure to use the same for osl and blender - and the latest one available!).

And more cosmetic cleanups...

9 years agoCMakeList: Better handling of llvm under linux (now you can try to force usage of...
Bastien Montagne [Sun, 18 Nov 2012 17:26:23 +0000 (17:26 +0000)]
CMakeList: Better handling of llvm under linux (now you can try to force usage of a specific version of llvm before using default one).

Also cleared LIBDIR var from linux code, as we have no more those svn folders!

9 years agoWindows / OSL:
Thomas Dinges [Sun, 18 Nov 2012 15:02:09 +0000 (15:02 +0000)]
Windows / OSL:
* Scons cleanup, to avoid redeclaration of /EHsc. Linking still fails.

9 years agoFix own stupid mistake for threads count, and edits to user messages (mostly adding...
Bastien Montagne [Sun, 18 Nov 2012 14:27:19 +0000 (14:27 +0000)]
Fix own stupid mistake for threads count, and edits to user messages (mostly adding the ldconfig trick for dynamic boost libs).

9 years agoRequest from Riggers/Animators at BlenderPRO:
Joshua Leung [Sun, 18 Nov 2012 13:10:43 +0000 (13:10 +0000)]
Request from Riggers/Animators at BlenderPRO:

Armature modifiers added via Ctrl-P operation will no longer have "envelope"
deforms enabled. This helps cut down the number of unintended deformations
arising from rouge-sized envelopes or stray control bones.

9 years agobmesh: lazy initialize bmesh tool flag pool, has the advantage that modifiers that...
Campbell Barton [Sun, 18 Nov 2012 12:14:22 +0000 (12:14 +0000)]
bmesh: lazy initialize bmesh tool flag pool, has the advantage that modifiers that dont use bmesh operators can skip allocating it.

9 years agofix for skin modifier calling rotate_normalized_v3_v3v3fl with a non unit length...
Campbell Barton [Sun, 18 Nov 2012 11:48:21 +0000 (11:48 +0000)]
fix for skin modifier calling rotate_normalized_v3_v3v3fl with a non unit length axis.

9 years agobmesh: move internal API flags out of BMFlagLayer, into BMHeader which was being...
Campbell Barton [Sun, 18 Nov 2012 10:17:07 +0000 (10:17 +0000)]
bmesh: move internal API flags out of BMFlagLayer, into BMHeader which was being padded up anyway, added static assert to make sure it stays <=16 bytes.

9 years agobevel now only takes manifold edges (so it doesnt need to check for them)
Campbell Barton [Sun, 18 Nov 2012 09:33:11 +0000 (09:33 +0000)]
bevel now only takes manifold edges (so it doesnt need to check for them)

9 years agobmesh function was still using bmesh operator flags, use edge tags instead.
Campbell Barton [Sun, 18 Nov 2012 09:25:57 +0000 (09:25 +0000)]
bmesh function was still using bmesh operator flags, use edge tags instead.

9 years agocommented bevel modifier code now calls bevel direct rather then the bevel operator.
Campbell Barton [Sun, 18 Nov 2012 08:56:47 +0000 (08:56 +0000)]
commented bevel modifier code now calls bevel direct rather then the bevel operator.

9 years agofinish moving bevel code out of the operator dir (it works again)
Campbell Barton [Sun, 18 Nov 2012 08:35:27 +0000 (08:35 +0000)]
finish moving bevel code out of the operator dir (it works again)

9 years agomoving bevel to tools dir as-is to keep svn history (breaks build, will fix next).
Campbell Barton [Sun, 18 Nov 2012 08:20:02 +0000 (08:20 +0000)]
moving bevel to tools dir as-is to keep svn history (breaks build, will fix next).

9 years agomove decimator into tools/ dir
Campbell Barton [Sun, 18 Nov 2012 08:16:09 +0000 (08:16 +0000)]
move decimator into tools/ dir

9 years agomove source/darwin into release/darwin since these files are for osx packaging.
Campbell Barton [Sun, 18 Nov 2012 07:41:38 +0000 (07:41 +0000)]
move source/darwin into release/darwin since these files are for osx packaging.

9 years agoOSL / Windows:
Thomas Dinges [Sun, 18 Nov 2012 03:56:53 +0000 (03:56 +0000)]
OSL / Windows:
* Some fixes for scons, kernel/osl compiles now.
* Still disabled per default, as relative path to oslc.exe does not work and linking fails.

9 years agotypo in own recent commit.
Campbell Barton [Sun, 18 Nov 2012 03:01:31 +0000 (03:01 +0000)]
typo in own recent commit.

9 years agostyle cleanup: if's on the same line.
Campbell Barton [Sun, 18 Nov 2012 02:41:55 +0000 (02:41 +0000)]
style cleanup: if's on the same line.

9 years agostyle cleanup: comments & spelling
Campbell Barton [Sun, 18 Nov 2012 01:22:31 +0000 (01:22 +0000)]
style cleanup: comments & spelling

9 years agocode cleanup: gpl header update (formatting)
Campbell Barton [Sun, 18 Nov 2012 00:30:06 +0000 (00:30 +0000)]
code cleanup: gpl header update (formatting)

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)