blender.git
6 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???).

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

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

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

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

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

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

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

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

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

6 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

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

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

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

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

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

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

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

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

6 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

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

6 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

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

6 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

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

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

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

6 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!

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

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

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

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

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

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

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

6 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

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

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

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

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

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

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

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

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

6 years agofix [#33156] Ctrl+L Link modifiers produce copies with identical names
Campbell Barton [Tue, 13 Nov 2012 14:53:33 +0000 (14:53 +0000)]
fix [#33156] Ctrl+L Link modifiers produce copies with identical names

6 years agoBugfix #26891
Ton Roosendaal [Tue, 13 Nov 2012 14:34:36 +0000 (14:34 +0000)]
Bugfix #26891

Recoded the move-to-layer popup to wait for execution of operator until you
press Enter or OK button.
That excludes undo/redo, which makes it faster for many too.

(note the menu is all hotkey driven, so it's MKEY, <number>, Enter)

Also fixed: missing MEM_free in this popup type.

6 years agoCorrection to YCCK and CNYK jpeg images loading into blender
Sergey Sharybin [Tue, 13 Nov 2012 14:28:45 +0000 (14:28 +0000)]
Correction to YCCK and CNYK jpeg images loading into blender

There was incorrect formula applied on color components, used the same
as gimp uses. It makes image looking nicer in blender, however it's
still not 100% correct. Seems lots of software are handling profiles
from jpeg file nicely. But that's another topic.

6 years agodisable applying constructive modifiers when in sculpt mode with multi-res data,...
Campbell Barton [Tue, 13 Nov 2012 14:21:55 +0000 (14:21 +0000)]
disable applying constructive modifiers when in sculpt mode with multi-res data, since this would crash.
also rename modifier_sameTopology -> modifier_isSameTopology(), modifier_nonGeometrical -> modifier_isNonGeometrical()

6 years agoBugfix #33159
Ton Roosendaal [Tue, 13 Nov 2012 12:55:09 +0000 (12:55 +0000)]
Bugfix #33159

Histogram in Blender was nearly useless - it just didnt work, showed
confusing blank results.

Two reasons for it:
- It was including Alpha in the weighted total value
  (RGB images have alpha 255 for all pixels)
- It was counting the a total weight value max(R, G, B, A), instead of
  using max(R) and max(G) etc.

Now it all draws much nicer - similar to Da Gimp! :)

6 years agoLast fix to get_plugin in ikplugin_api.c was off by one in the wrong direction.
Jason Wilkins [Tue, 13 Nov 2012 11:31:54 +0000 (11:31 +0000)]
Last fix to get_plugin in ikplugin_api.c was off by one in the wrong direction.

6 years agoRender Engines: fix crash when changing render engine during rendering
Sergey Sharybin [Tue, 13 Nov 2012 11:00:46 +0000 (11:00 +0000)]
Render Engines: fix crash when changing render engine during rendering

Crash would have been happen when changing render ending at the same time
rendering happens. It could be final Cycles render or even preview LUX render.

6 years agoMore fixes:
Bastien Montagne [Tue, 13 Nov 2012 10:49:55 +0000 (10:49 +0000)]
More fixes:
*Unset LANG envar for the script execution time, because commands like "apt-cache policy" will return translated messages, which would not be grep'ed crrectly...
*Disable using distrib's ffmpeg for DEB distribs too, as e.g. official debian features libav under ffmpeg name, which is not that much compatible with current Blender code.
*Also check for libxvidcore-dev .deb package, debian has no libxvidcore4-dev ;)

6 years agoHopefully now suse will just work :)
Sergey Sharybin [Tue, 13 Nov 2012 10:12:42 +0000 (10:12 +0000)]
Hopefully now suse will just work :)

6 years agoInstall dependencies script: added support of OpenSUSE
Sergey Sharybin [Tue, 13 Nov 2012 09:29:22 +0000 (09:29 +0000)]
Install dependencies script: added support of OpenSUSE

Currently it'll install basic packages only and will compile all
python, boost, oiio, ocio and ffmpeg.

6 years agofix [#33143] Exporter crash since 2.64
Campbell Barton [Tue, 13 Nov 2012 06:57:07 +0000 (06:57 +0000)]
fix [#33143] Exporter crash since 2.64

6 years agoRemoving again windows' long_locales! :p
Bastien Montagne [Tue, 13 Nov 2012 06:29:46 +0000 (06:29 +0000)]
Removing again windows' long_locales! :p

6 years agofix for boost (symlink was buggy, and better to only build needed boost libs).
Bastien Montagne [Tue, 13 Nov 2012 06:22:47 +0000 (06:22 +0000)]
fix for boost (symlink was buggy, and better to only build needed boost libs).

Note; we might also want to add the --without-icu option later...

6 years agoadd an operator for mesh mode switching,
Campbell Barton [Tue, 13 Nov 2012 05:44:49 +0000 (05:44 +0000)]
add an operator for mesh mode switching,
this lets python menu for mode setting do mixed selection and extending the selection - just like the buttons in the header.

6 years agoBGE: Renaming KX_GameObject.group_parent and group_children to groupObject and groupM...
Mitchell Stokes [Tue, 13 Nov 2012 04:38:34 +0000 (04:38 +0000)]
BGE: Renaming KX_GameObject.group_parent and group_children to groupObject and groupMembers to be a bit more descriptive and match the rest of the BGE Py API. KX_MeshProxy.transform_uv has also been renamed to transformUV. It would be nice to switch to PEP8 names for the BGE Python API, but for now, consistency is better.

6 years agomake smoothing value for ring select compatible with the operator.
Campbell Barton [Tue, 13 Nov 2012 02:45:42 +0000 (02:45 +0000)]
make smoothing value for ring select compatible with the operator.
also wrap long lines in noise.c

6 years agotodo from 2.4x, add back smooth option to edge loop cut.
Campbell Barton [Tue, 13 Nov 2012 02:28:07 +0000 (02:28 +0000)]
todo from 2.4x, add back smooth option to edge loop cut.

6 years agoavoid divide by zero in cycles progress calculation
Campbell Barton [Tue, 13 Nov 2012 01:53:07 +0000 (01:53 +0000)]
avoid divide by zero in cycles progress calculation

6 years ago(no commit message)
Jason Wilkins [Tue, 13 Nov 2012 00:54:57 +0000 (00:54 +0000)]

6 years agouv stitch was executing on Enter-key release, making it not work when starting from...
Campbell Barton [Mon, 12 Nov 2012 22:52:16 +0000 (22:52 +0000)]
uv stitch was executing on Enter-key release, making it not work when starting from operator search popup (pressing enter), also Plus/Minus keys would get incremented for key press and release.

6 years agoremove 'Reset' button from operator UI, instead have 'Restore Defaults' in preset...
Campbell Barton [Mon, 12 Nov 2012 21:44:48 +0000 (21:44 +0000)]
remove 'Reset' button from operator UI, instead have 'Restore Defaults' in preset menu.

If this is needed we can add the reset button back as an option for certain operators,
but AFAICS any operator with enough settings that resetting them all would be annoying - could have presets enabled.

6 years agoInitial implementation of a script for automatic dependencies installer/builder
Sergey Sharybin [Mon, 12 Nov 2012 19:39:09 +0000 (19:39 +0000)]
Initial implementation of a script for automatic dependencies installer/builder

This script will install all packages from the repositories and will compile
missing in repositories libraries.

It is supposed to replace pre-compiled libraries from our svn.

Tested script on Fedora 14 and 17, Ubuntu 10.04 and 12.10. All the dependencies
and manually built libraries seems to be fine. However, it's really annoying to
build blender in virtual machine to ensure there's no linking errors, i would
hope community will help testing and making needed tweaks to the script :)

To use the script, simple run it from your user name. It'll run installation
commands from a sudo, so you would likely be requested to type a password.

I've made tweaks to CMake FindLibs, so it should find OIIO, OCIO and python
libraries compiled by this script. Boost and FFmpeg would need to be specified
manually.

SCons currently would require manual paths specifications as well. Perhaps we
could make SCons smarter in the future.

All the parameters you need to pass to CMake/SCons would be printed when script
finishes to run.

Pretty much sure it's not production-ready script, but we need to start testing
at some point :)

6 years agoMinor spell fix (only one this week, yeah!).
Bastien Montagne [Mon, 12 Nov 2012 19:31:31 +0000 (19:31 +0000)]
Minor spell fix (only one this week, yeah!).

6 years agoFix to allow several include dirs for python under scons build system (needed with...
Bastien Montagne [Mon, 12 Nov 2012 18:31:15 +0000 (18:31 +0000)]
Fix to allow several include dirs for python under scons build system (needed with new py3.3 debian-like packages).

6 years agoBugfix #33147
Ton Roosendaal [Mon, 12 Nov 2012 18:07:33 +0000 (18:07 +0000)]
Bugfix #33147

Conversion from 2.49 and older files: support for unlimited materials on
objects had an error in conversion.

Effect was that you couldn't re-assign material slots a Material, in case
you were using "link to object" option.

6 years agoadd simple quad-strip filling to bevel, use to bevel edges when 2 bevel-edges share...
Campbell Barton [Mon, 12 Nov 2012 16:08:02 +0000 (16:08 +0000)]
add simple quad-strip filling to bevel, use to bevel edges when 2 bevel-edges share a vertex.

this gives more useful topology, eg:
http://www.graphicall.org/ftp/ideasman42/bevel_strip_fill.png

6 years agoFix conflict of cycles persistent data flag with freestyle, add reserved
Brecht Van Lommel [Mon, 12 Nov 2012 14:25:29 +0000 (14:25 +0000)]
Fix conflict of cycles persistent data flag with freestyle, add reserved
value for freestyle now.

6 years agofan filling didnt always work well, now only apply this when its going to work properly.
Campbell Barton [Mon, 12 Nov 2012 12:30:58 +0000 (12:30 +0000)]
fan filling didnt always work well, now only apply this when its going to work properly.

6 years agochange bevel do/while loops to step the pointer in the while check, no functional...
Campbell Barton [Mon, 12 Nov 2012 12:16:21 +0000 (12:16 +0000)]
change bevel do/while loops to step the pointer in the while check, no functional changes.

6 years agoEnable libboost_locale for buildbot rules
Sergey Sharybin [Mon, 12 Nov 2012 12:10:46 +0000 (12:10 +0000)]
Enable libboost_locale for buildbot rules

6 years agobevel fan fill edges meeting non selected geometry rather then making ngons which...
Campbell Barton [Mon, 12 Nov 2012 11:59:28 +0000 (11:59 +0000)]
bevel fan fill edges meeting non selected geometry rather then making ngons which often dont triangulate nicely to follow rounded corners:  graphicall.org/ftp/ideasman42/bevel_fan_fill.png

6 years agoOSX/cmake: revert a testchange back for kaito
Jens Verwiebe [Mon, 12 Nov 2012 10:51:29 +0000 (10:51 +0000)]
OSX/cmake: revert a testchange back for kaito

6 years agoMore spelling errors, whitespace, and simplifying code with many side effects
Joshua Leung [Mon, 12 Nov 2012 10:38:51 +0000 (10:38 +0000)]
More spelling errors, whitespace, and simplifying code with many side effects

6 years agoenable multi-sampling on x11
Campbell Barton [Mon, 12 Nov 2012 10:16:50 +0000 (10:16 +0000)]
enable multi-sampling on x11

6 years agofix scons compile after introducing BF_BOOST_LIB_INTERNATIONAL
Jens Verwiebe [Mon, 12 Nov 2012 09:31:10 +0000 (09:31 +0000)]
fix scons compile after introducing BF_BOOST_LIB_INTERNATIONAL

6 years agofix for DNA alignment on 32 and 64bit systems.
Campbell Barton [Mon, 12 Nov 2012 09:27:39 +0000 (09:27 +0000)]
fix for DNA alignment on 32 and 64bit systems.

6 years agofix syntax error when disabling both IK solvers
Jason Wilkins [Mon, 12 Nov 2012 08:39:27 +0000 (08:39 +0000)]
fix syntax error when disabling both IK solvers

6 years agocode cleanup: spelling,
Campbell Barton [Mon, 12 Nov 2012 07:33:01 +0000 (07:33 +0000)]
code cleanup: spelling,
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later.

6 years agoBM_iter_as_arrayN() can now take an optional existing array argument, useful to avoid...
Campbell Barton [Mon, 12 Nov 2012 05:53:43 +0000 (05:53 +0000)]
BM_iter_as_arrayN() can now take an optional existing array argument, useful to avoid many small malloc's by passing a fixes size stack variable instead.

Will give some speedup to edge-split modifier and bevel.

6 years agobmesh bevel todo: don't loop through all faces to find faces connected to a vertex.
Campbell Barton [Mon, 12 Nov 2012 05:29:54 +0000 (05:29 +0000)]
bmesh bevel todo: don't loop through all faces to find faces connected to a vertex.

6 years agoreplace BM_edge_face_count with BM_edge_is_manifold/BM_edge_is_wire/BM_edge_is_boundary
Campbell Barton [Mon, 12 Nov 2012 04:50:45 +0000 (04:50 +0000)]
replace BM_edge_face_count with BM_edge_is_manifold/BM_edge_is_wire/BM_edge_is_boundary

6 years agostyle cleanup
Campbell Barton [Mon, 12 Nov 2012 03:41:25 +0000 (03:41 +0000)]
style cleanup

6 years agobuild fix: recent commit broke building on 64bit linux
Campbell Barton [Mon, 12 Nov 2012 03:37:28 +0000 (03:37 +0000)]
build fix: recent commit broke building on 64bit linux

6 years agoWhitespace tweaks and Bugfixes
Joshua Leung [Mon, 12 Nov 2012 03:26:40 +0000 (03:26 +0000)]
Whitespace tweaks and Bugfixes

* Fixed memory leak, where temp buffers for tGpTimingData were not freed
* Fixed crash when there was no active object when converting to paths

6 years agoupdate to python api `Gotcha` docs to reflect changes to the api. also add a section...
Campbell Barton [Mon, 12 Nov 2012 03:23:47 +0000 (03:23 +0000)]
update to python api `Gotcha` docs to reflect changes to the api. also add a section about modifying linked library data.

6 years agoBevel: several bug fixes.
Howard Trickey [Mon, 12 Nov 2012 02:52:24 +0000 (02:52 +0000)]
Bevel: several bug fixes.

6 years agoScons compiling fix
Joshua Leung [Mon, 12 Nov 2012 02:30:16 +0000 (02:30 +0000)]
Scons compiling fix

Proper implementation for only including the boost locale libs when
WITH_BF_INTERNATIONAL is enabled, so that those of us who do not need/want to
bother with translated ui's can compile. The way it was done before was wrong as
1) the value was always set to true earlier in the config scripts, 2) the base
config scripts run before user config overrides are set

6 years agoDNA alignment fix for GPencil commit
Joshua Leung [Mon, 12 Nov 2012 02:25:21 +0000 (02:25 +0000)]
DNA alignment fix for GPencil commit

6 years agofix [#33142] Ctrl LMB higher selection mode in edit mode sometimes selects extra...
Campbell Barton [Sun, 11 Nov 2012 23:33:59 +0000 (23:33 +0000)]
fix [#33142] Ctrl LMB higher selection mode in edit mode sometimes selects extra elements

6 years agoFix CMake boost locale lib names for MinGW64.
Antony Riakiotakis [Sun, 11 Nov 2012 22:50:28 +0000 (22:50 +0000)]
Fix CMake boost locale lib names for MinGW64.

6 years agoOSX: fix linking with new boost_locale
Jens Verwiebe [Sun, 11 Nov 2012 20:41:28 +0000 (20:41 +0000)]
OSX: fix linking with new boost_locale

6 years ago* Remove one last "gnu_gettext.dll" reference in scons.
Thomas Dinges [Sun, 11 Nov 2012 19:53:12 +0000 (19:53 +0000)]
* Remove one last "gnu_gettext.dll" reference in scons.

6 years agoClen up of gettext stuff from scons scripts... Did not touch to buildbots ones, nor...
Bastien Montagne [Sun, 11 Nov 2012 19:46:36 +0000 (19:46 +0000)]
Clen up of gettext stuff from scons scripts... Did not touch to buildbots ones, nor to iconv, as it’s still uncleare whether we can get rid of it :/

6 years ago* Replace math.h with BLI_math.h, this fixes compile on windows.
Thomas Dinges [Sun, 11 Nov 2012 18:56:58 +0000 (18:56 +0000)]
* Replace math.h with BLI_math.h, this fixes compile on windows.

6 years agoFix for RNA soft values (confused with hard ones... tss).
Bastien Montagne [Sun, 11 Nov 2012 18:38:54 +0000 (18:38 +0000)]
Fix for RNA soft values (confused with hard ones... tss).

6 years agoFour fixes (own collection)
Ton Roosendaal [Sun, 11 Nov 2012 18:33:35 +0000 (18:33 +0000)]
Four fixes (own collection)

- Screencast: stops working on window resize - crashes movie file output
- Screencast now draws simple brush overlay to indicate mouse cursor.
- Greasepencil now works again to use MMB for view rotates
  (and missed proper redraw signal for toolbar, at end of paint)