9 years agoBuildbot: add glibc2.11 configuration files and build rules
Sergey Sharybin [Sun, 28 Oct 2012 17:03:36 +0000 (17:03 +0000)]
Buildbot: add glibc2.11 configuration files and build rules

Builder will go online as soon as new environment is copied to buildslave machine over the internet

9 years agoBuildbot: add glibc2.11 slaves, not online yet
Sergey Sharybin [Sun, 28 Oct 2012 16:58:44 +0000 (16:58 +0000)]
Buildbot: add glibc2.11 slaves, not online yet

9 years agoBuildbot: copy master.cfg from
Sergey Sharybin [Sun, 28 Oct 2012 16:40:31 +0000 (16:40 +0000)]
Buildbot: copy master.cfg from

Seems this file went out of sync with actual file on the server

9 years agofix for extruding edges giving incorrect (swapped) loop data for new faces.
Campbell Barton [Sun, 28 Oct 2012 16:17:20 +0000 (16:17 +0000)]
fix for extruding edges giving incorrect (swapped) loop data for new faces.

9 years agocode cleanup: minor changes before committing functional changes.
Campbell Barton [Sun, 28 Oct 2012 15:37:29 +0000 (15:37 +0000)]
code cleanup: minor changes before committing functional changes.

9 years agostyle cleanup
Campbell Barton [Sun, 28 Oct 2012 15:23:16 +0000 (15:23 +0000)]
style cleanup

9 years agoEvent system fix:
Ton Roosendaal [Sun, 28 Oct 2012 14:49:40 +0000 (14:49 +0000)]
Event system fix:

Now modifier key press gets generated without having own modifier set.
Same happens for double clicks on modifiers.

This also fixes case: press shift twice first, modifier fails.

9 years agoBugfix #24016
Ton Roosendaal [Sun, 28 Oct 2012 12:20:38 +0000 (12:20 +0000)]
Bugfix #24016

Removed dubious code for checking CTRL+C CTRL+V on buttons.
This made copy/paste fail if you keep the modifier key holding.

9 years agoFix #32981: Render baking redraw
Sergey Sharybin [Sun, 28 Oct 2012 12:08:36 +0000 (12:08 +0000)]
Fix #32981: Render baking redraw

9 years agoEvent system cleanup: bringing KM_CLICK back in control.
Ton Roosendaal [Sun, 28 Oct 2012 11:19:35 +0000 (11:19 +0000)]
Event system cleanup: bringing KM_CLICK back in control.

- Solved Modal Keymap hijack of event codes
  (with note this should be coded better)

- Added dedicated state variable check_click in event to trigger it

All this in an attempt to get code understandable and predictable again. :)

This solves error like:
- editmode mesh
- select a vertex
- grab it, press control for grid snap
- on LMB assign, it also did an extrude.

9 years agoAnother leftover debug print, sorry!
Ton Roosendaal [Sun, 28 Oct 2012 09:26:50 +0000 (09:26 +0000)]
Another leftover debug print, sorry!

9 years agoFix #32979: proportional edit connected was too slow with many vertices on
Brecht Van Lommel [Sat, 27 Oct 2012 18:54:45 +0000 (18:54 +0000)]
Fix #32979: proportional edit connected was too slow with many vertices on
some meshes, now use the system qsort instead of a custom one (which I guess
suffered from poor choice of pivot point in some cases).

9 years ago== file browser ==
Andrea Weikert [Sat, 27 Oct 2012 18:31:52 +0000 (18:31 +0000)]
== file browser ==
PATCH: [#32989] Activate backup files filter in File Browser
Contributed by Georg Kronthaler, many thanks!
(I just moved the icon to a different place reserved for file browser icons)

* enables the filtering of backup files in the file browser
* adds a 'filter backup files'-icon to the filter buttons
* adds new icons for backup files in list and thumbnail view
* enables file preview for the backup files

9 years ago== filebrowser ==
Andrea Weikert [Sat, 27 Oct 2012 17:47:58 +0000 (17:47 +0000)]
== filebrowser ==
PATCH: [#32985] File Browser text file icon does not match text filter icon
Contributed by Georg Kronthaler, many thanks!

* set correct icon for text files and drag&drop
* remove duplicate if for filter_text
* fixed a couple of blanks at the end of line.

9 years agoBugfix #32823 (probably) or from Thomas Dinges in irc:
Ton Roosendaal [Sat, 27 Oct 2012 17:21:21 +0000 (17:21 +0000)]
Bugfix #32823 (probably) or from Thomas Dinges in irc:

- Camera mode fly a bit
- Apply view change
- Middlemouse to go out of camera view

Zoom then fails. Appears the flymode is resetting values that have to be set.

The bugreporter claims same, but blames it on particles ;)

9 years agoSmoke/Dynamic Paint: Allow use of fluid sim generated particles as emitter/brush.
Miika Hamalainen [Sat, 27 Oct 2012 17:19:55 +0000 (17:19 +0000)]
Smoke/Dynamic Paint: Allow use of fluid sim generated particles as emitter/brush.

9 years agoBugfix, IRC reported
Ton Roosendaal [Sat, 27 Oct 2012 16:47:08 +0000 (16:47 +0000)]
Bugfix, IRC reported

In texture buttons, changing the preview could crash.
The preview template was accidentally providing a Texture ID where a Material
was meant to be given.

Crash occurred due adding code in material update that checked/cleared node

9 years agorevert last commit, it broke regular face extrude. need to look into it further.
Campbell Barton [Sat, 27 Oct 2012 15:34:54 +0000 (15:34 +0000)]
revert last commit, it broke regular face extrude. need to look into it further.

9 years agoBugfix 32988
Ton Roosendaal [Sat, 27 Oct 2012 15:27:27 +0000 (15:27 +0000)]
Bugfix 32988

"Area prev space" was setting areas to "Info" - in case no previous editor
could be found. That goes wrong for cases like:

- goto composite screen
- make image editor full
- render
- esc

9 years agofix for extruding single edges from faces giving flipped loop data - UV's/VCols
Campbell Barton [Sat, 27 Oct 2012 15:24:19 +0000 (15:24 +0000)]
fix for extruding single edges from faces giving flipped loop data - UV's/VCols

9 years agocomment testing typechecking code, was causing issues on gcc 4.4 for some reason.
Campbell Barton [Sat, 27 Oct 2012 15:08:40 +0000 (15:08 +0000)]
comment testing typechecking code, was causing issues on gcc 4.4 for some reason.

9 years agoadd --debug-handlers so --debug-events isnt so noisy.
Campbell Barton [Sat, 27 Oct 2012 15:05:12 +0000 (15:05 +0000)]
add --debug-handlers so --debug-events isnt so noisy.

9 years agoadd back debug prints for event handlers. not sure why they were removed in r51683
Campbell Barton [Sat, 27 Oct 2012 14:55:31 +0000 (14:55 +0000)]
add back debug prints for event handlers. not sure why they were removed in r51683

9 years agoBugfix:
Ton Roosendaal [Sat, 27 Oct 2012 14:10:25 +0000 (14:10 +0000)]

Menu accellerator now accepts fast clicking again. (ctrl-q + q)

9 years agowrong definition of parameterlist
Gaia Clary [Sat, 27 Oct 2012 13:41:04 +0000 (13:41 +0000)]
wrong definition of parameterlist

9 years agoAnother tweak in event code to get KM_CLICK work.
Ton Roosendaal [Sat, 27 Oct 2012 13:35:33 +0000 (13:35 +0000)]
Another tweak in event code to get KM_CLICK work.

It was copying 'prevval' and 'prevtype' too often - can cause issues with
different event systems or perifirals.

9 years agoComment + whitespace tweaks for constraints
Joshua Leung [Sat, 27 Oct 2012 13:22:44 +0000 (13:22 +0000)]
Comment + whitespace tweaks for constraints
* Radiant -> Radians

* Noted down revision number for when Jahka removed the old constraint blending
logic. I spent some time hunting this down while trying to check if it might've
caused any obvious changes leading to one of the (now closed) bugreports. Better
to note this in the code then.

9 years agoSCons: more libraries could be specified to be static now
Sergey Sharybin [Sat, 27 Oct 2012 13:22:36 +0000 (13:22 +0000)]
SCons: more libraries could be specified to be static now

Jack, jpeg, png, openmp, opencollada libraris now could be forced to be static

9 years agoPutting back mysterious lines that check KM_CLICK keymap conflicts
Ton Roosendaal [Sat, 27 Oct 2012 13:15:11 +0000 (13:15 +0000)]
Putting back mysterious lines that check KM_CLICK keymap conflicts
It's a real puzzle this click bizz!

9 years agoRemoved leftover debug print.
Ton Roosendaal [Sat, 27 Oct 2012 12:31:35 +0000 (12:31 +0000)]
Removed leftover debug print.

9 years agoFix #32982, Segault when trying to show a node material.
Lukas Toenne [Sat, 27 Oct 2012 11:56:21 +0000 (11:56 +0000)]
Fix #32982, Segault when trying to show a node material.

This was caused by incomplete pointer mapping of the node->internal_links list in r51630, my bad. In intermediate revisions this could lead to corrupted .blend data. This patch adds a do_versions check to remove such bad links. The correct internal_links list will get restored on node update.

9 years agouse min/max inline functions where MIN2/MAX2 were doing type conversion.
Campbell Barton [Sat, 27 Oct 2012 11:18:54 +0000 (11:18 +0000)]
use min/max inline functions where MIN2/MAX2 were doing type conversion.

9 years agoA few more BMesh errors messages translated, and "automated" translation for modifers...
Bastien Montagne [Sat, 27 Oct 2012 11:12:09 +0000 (11:12 +0000)]
A few more BMesh errors messages translated, and "automated" translation for modifers too!

9 years agoFix for missing bracket in r51674.
Lukas Toenne [Sat, 27 Oct 2012 11:10:12 +0000 (11:10 +0000)]
Fix for missing bracket in r51674.

9 years agostyle cleanup
Campbell Barton [Sat, 27 Oct 2012 10:42:28 +0000 (10:42 +0000)]
style cleanup

9 years agoTransform: didn't set "event handled" to zero on undhandled events.
Ton Roosendaal [Sat, 27 Oct 2012 10:22:41 +0000 (10:22 +0000)]
Transform: didn't set "event handled" to zero on undhandled events.
(like double click)

9 years agoFinally fix the "double operators labels" in current po's: Operator sub-classes do...
Bastien Montagne [Sat, 27 Oct 2012 10:05:38 +0000 (10:05 +0000)]
Finally fix the "double operators labels" in current po's: Operator sub-classes do not have custom "Operator" translation_context (while OperatorProperties subclasses do), so skip parsing the first!

Also refactored the "skip dummy messages like "1024" or ": %d", now using a regex!

All this removes about 160 doubles/unneeded messages!

9 years agoThe UI wasn't capable of handling Double Click events; causing fast typing to
Ton Roosendaal [Sat, 27 Oct 2012 09:52:26 +0000 (09:52 +0000)]
The UI wasn't capable of handling Double Click events; causing fast typing to
not work.

This is a temporary fix to make button type work. I'll check on other cases
now too.

Best would be to have UI code return correct flags for whether it has
done something or not. This hasn't been coded really - so that's a todo for
a later cleanup there.

9 years agochange BLI_strlen_range_utf8 to the more conventional BLI_strnlen_utf8
Campbell Barton [Sat, 27 Oct 2012 02:47:39 +0000 (02:47 +0000)]
change BLI_strlen_range_utf8 to the more conventional BLI_strnlen_utf8

9 years agostyle cleanup
Campbell Barton [Sat, 27 Oct 2012 01:46:47 +0000 (01:46 +0000)]
style cleanup

9 years agofix for filled rip copying loop customdata (fix in BM_edge_other_loop broke it)
Campbell Barton [Sat, 27 Oct 2012 01:33:33 +0000 (01:33 +0000)]
fix for filled rip copying loop customdata (fix in BM_edge_other_loop broke it)

also assert when customdata can't be copied because of invalid args.

9 years ago* Windows compile fix for __func__ (r51642)
Thomas Dinges [Fri, 26 Oct 2012 18:06:14 +0000 (18:06 +0000)]
* Windows compile fix for __func__ (r51642)

9 years agoFix Blender version retrieving...
Bastien Montagne [Fri, 26 Oct 2012 17:49:36 +0000 (17:49 +0000)]
Fix Blender version retrieving...

9 years agoBig i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a few...
Bastien Montagne [Fri, 26 Oct 2012 17:32:50 +0000 (17:32 +0000)]
Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...

9 years agoFix Sound Bake op always using 'use_' prefix for all its bool RNA props. Also tweaked...
Bastien Montagne [Fri, 26 Oct 2012 17:29:21 +0000 (17:29 +0000)]
Fix Sound Bake op always using 'use_' prefix for all its bool RNA props. Also tweaked new tips, and a few other UI messages edits...

9 years agoBugfix for new handling of double-click:
Ton Roosendaal [Fri, 26 Oct 2012 16:46:26 +0000 (16:46 +0000)]
Bugfix for new handling of double-click:

The modifier keys were getting own key as modifier :)
Made it not possible to use them for events.

Still open issue: for some reason modifer key 'press' gets swallowed.
Digging into that.

9 years agoBugfix: because of fixed event checking, the 'area zone' didn't work anymore.
Ton Roosendaal [Fri, 26 Oct 2012 16:17:48 +0000 (16:17 +0000)]
Bugfix: because of fixed event checking, the 'area zone' didn't work anymore.
Event that gets added should get zero'ed value.

9 years agoBugfix #28734
Ton Roosendaal [Fri, 26 Oct 2012 15:21:31 +0000 (15:21 +0000)]
Bugfix #28734

Double clicks were never working reliably in Blender - this mostly because
it wasn't a real event, but something generated in the handler code.

Now it is an actual event - meaning it always gets handled (if you have
a keymap item for it of course), but if there's no doubleclick handling
it treats the doubleclick as a normal click.

Also cleaned code. No recursion anymore.

9 years agoFix for a nasty (and dangerous, buffer overflow) bug that quite oddly seems to have...
Bastien Montagne [Fri, 26 Oct 2012 14:45:56 +0000 (14:45 +0000)]
Fix for a nasty (and dangerous, buffer overflow) bug that quite oddly seems to have never shown its ugly face until today (at least for me)... It was revealed by mocap's addon stupidly long operators label names (fix comming in next commit): the rna_Operator_bl_idname_set() and rna_Operator_bl_label_set() were clamping there string copy to RNA_DYN_DESCR_MAX instead of OP_MAX_TYPENAME!

9 years agoBack to generating a pot file into trunk/po of i18n repo (it's useful for translators...
Bastien Montagne [Fri, 26 Oct 2012 13:15:14 +0000 (13:15 +0000)]
Back to generating a pot file into trunk/po of i18n repo (it's useful for translators who want to start a new translation without be able to generate their own po!).

9 years ago* New string property subtype: PASSWORD
Jiri Hnidek [Fri, 26 Oct 2012 12:58:54 +0000 (12:58 +0000)]
* New string property subtype: PASSWORD

When this new subtypes is used, then string of property is hidden using
asterisks, e.g.: mysecretpassword -> ****************

This code was reviewed and modified by Brecht. Thanks very much:

This new subtype of string property is intended mostly for Add-on developers
writing Add-on which communicates with some server (http, sql, ftp, verse,
etc.). When this server requires user authentication and user has to type
username and password, then current API didn't allow to type 'hidden' password,
e.g. when you want to demonstrate this script, then everybody can see this
security password. Some examples of Add-on which could use this new subtype:
 - On-line database of textures
 - Integration of render farm
 - Integration of Verse

Security Notes:
 - You can copy paste hiddent string of property from text input using (Ctrl-C, Ctrl-V),
but you can do this in other GUI toolkits too (this behavior it is widely used).
 - Text of string property is stored in plain text, but it is widely used in other
GUI toolkits (Qt, Gtk, etc.).

Simple examples:

9 years agoDescriptions should never have dots on the end of sentence
Sergey Sharybin [Fri, 26 Oct 2012 12:42:59 +0000 (12:42 +0000)]
Descriptions should never have dots on the end of sentence

9 years agoCamera tracking fixes
Sergey Sharybin [Fri, 26 Oct 2012 12:36:50 +0000 (12:36 +0000)]
Camera tracking fixes

- Dopesheet should be invalidated after solution
- Prevent crash when non-camera object is set as scene camera

9 years agoPatch [#32030] Tooltips for Bake Sound to F-Curves
Joerg Mueller [Fri, 26 Oct 2012 11:34:15 +0000 (11:34 +0000)]
Patch [#32030] Tooltips for Bake Sound to F-Curves
by Gottfried Hofmann

9 years agoShow warning message when multires baking happens for preview level of 0
Sergey Sharybin [Fri, 26 Oct 2012 11:30:00 +0000 (11:30 +0000)]
Show warning message when multires baking happens for preview level of 0

9 years agoBugfix #32975
Ton Roosendaal [Fri, 26 Oct 2012 11:29:30 +0000 (11:29 +0000)]
Bugfix #32975

Shader nodes didn't redraw correct on preview-type changes.
Also made shader node previews draw nicely, without flashing empty images.

9 years agofix [#31661] Custom properties do no respect min/max values
Campbell Barton [Fri, 26 Oct 2012 10:54:02 +0000 (10:54 +0000)]
fix [#31661] Custom properties do no respect min/max values

also renamed function added prev commit

9 years agofix for crash when a python operator or render engine was freed in the C code and...
Campbell Barton [Fri, 26 Oct 2012 10:33:57 +0000 (10:33 +0000)]
fix for crash when a python operator or render engine was freed in the C code and then referenced from python.

now further access in python gives an exception at the line when the freed data is accessed.

9 years agoBugfix #31842
Ton Roosendaal [Fri, 26 Oct 2012 09:55:19 +0000 (09:55 +0000)]
Bugfix #31842

Proportional editing of Objects in Object Mode didn't reset positions when
changing the circle influence size. Fix provided by Phillipp Oeser. Thanks!

9 years agoFix #32972: cycles crash switching OSL to SVM in viewport render.
Brecht Van Lommel [Fri, 26 Oct 2012 09:25:02 +0000 (09:25 +0000)]
Fix #32972: cycles crash switching OSL to SVM in viewport render.

9 years agoBug report #32970
Ton Roosendaal [Fri, 26 Oct 2012 09:13:26 +0000 (09:13 +0000)]
Bug report #32970

Added "not animatable" properties to Image animation options; that's not supported.

9 years agofix [#30087] operator_context is different for popup and submenu's *TODO, after 2.62*
Campbell Barton [Fri, 26 Oct 2012 06:22:54 +0000 (06:22 +0000)]
fix [#30087] operator_context is different for popup and submenu's *TODO, after 2.62*

having context different for menu vs submenu is quite confusing, now they are both: WM_OP_INVOKE_REGION_WIN
this changes WM_menu_invoke behavior.

9 years agoadd a function for merging 2 bmesh element flags into a 3rd item.
Campbell Barton [Fri, 26 Oct 2012 06:19:49 +0000 (06:19 +0000)]
add a function for merging 2 bmesh element flags into a 3rd item.

9 years agofix for another error reported in [#26712], use count failing with 3 levels of linking.
Campbell Barton [Fri, 26 Oct 2012 05:33:06 +0000 (05:33 +0000)]
fix for another error reported in [#26712], use count failing with 3 levels of linking.

9 years agofix [#26712] Particle group instance 'Use Count' value gets reset on file-load.
Campbell Barton [Fri, 26 Oct 2012 05:22:24 +0000 (05:22 +0000)]
fix [#26712] Particle group instance 'Use Count' value gets reset on file-load.

9 years agofix own error when refactoring projection code, [#32971] Edge Select unusable beyond...
Campbell Barton [Fri, 26 Oct 2012 04:54:55 +0000 (04:54 +0000)]
fix own error when refactoring projection code, [#32971] Edge Select unusable beyond certain zoom distance.

9 years agostyle cleanup
Campbell Barton [Fri, 26 Oct 2012 04:14:10 +0000 (04:14 +0000)]
style cleanup

9 years agocode cleanup: use squared length for comparisons and is_zero_v# rather then checking...
Campbell Barton [Thu, 25 Oct 2012 23:04:33 +0000 (23:04 +0000)]
code cleanup: use squared length for comparisons and is_zero_v# rather then checking length == 0.

9 years agocode cleanup: use min_/max_ math functions, add minmax_v2_v2v2.
Campbell Barton [Thu, 25 Oct 2012 22:47:54 +0000 (22:47 +0000)]
code cleanup: use min_/max_ math functions, add minmax_v2_v2v2.

9 years agoFix #32973: crash adding python property with update=None parameter passed.
Brecht Van Lommel [Thu, 25 Oct 2012 22:37:05 +0000 (22:37 +0000)]
Fix #32973: crash adding python property with update=None parameter passed.

9 years agoFix for r51634, without this define, translation won’t happen (all i18n macro would...
Bastien Montagne [Thu, 25 Oct 2012 20:12:11 +0000 (20:12 +0000)]
Fix for r51634, without this define, translation won’t happen (all i18n macro would be no-op for this editor!).

9 years agoCorrection to viewport's lens description - lens works in ortho mode now.
Sergey Sharybin [Thu, 25 Oct 2012 19:49:30 +0000 (19:49 +0000)]
Correction to viewport's lens description - lens works in ortho mode now.

9 years agofix scons compilation after 51634
Jens Verwiebe [Thu, 25 Oct 2012 19:16:07 +0000 (19:16 +0000)]
fix scons  compilation after 51634

9 years agoadding logic editor strings to .po
Dalai Felinto [Thu, 25 Oct 2012 18:28:12 +0000 (18:28 +0000)]
adding logic editor strings to .po
for the records I was chasing the strings using:

9 years agoFix compilation in paranoid gcc warnings=errors mode...
Bastien Montagne [Thu, 25 Oct 2012 18:26:07 +0000 (18:26 +0000)]
Fix compilation in paranoid gcc warnings=errors mode...

9 years agoCorrection to recent makesrna commit
Sergey Sharybin [Thu, 25 Oct 2012 17:25:14 +0000 (17:25 +0000)]
Correction to recent makesrna commit

9 years agoBugfix #27585
Ton Roosendaal [Thu, 25 Oct 2012 16:58:52 +0000 (16:58 +0000)]
Bugfix #27585

Oldie: Texture buttons - "Add New Image" - crashes on changing X or Y resolution.

I've greyed out these buttons now, changing image memory that's in use by the
preview render is not supported.

A real fix I did was assigning the new image to the texture, that was missing.

9 years agoInternal node links are now cached in a per-node list, instead of being generated...
Lukas Toenne [Thu, 25 Oct 2012 16:49:06 +0000 (16:49 +0000)]
Internal node links are now cached in a per-node list, instead of being generated as a transient list that is returned from the callback and had to be freed by the caller. These internal links are used for muted nodes, disconnect operators and reroute nodes, to effectively replace the node with direct input-to-output links.

Storing this list in the node has the advantage of requiring far fewer calls to the potentially expensive internal_connect callback. This was called on every node redraw ...

Also it will allow Cycles to properly use the internal links for muted nodes, which ensures consistent behavior. The previous method was not applicable in Cycles because transient list return values are not supported well in the RNA and particularly the C++ API implementation.

9 years agoSupport for string and index lookup operators on collections in the C++ RNA API.
Lukas Toenne [Thu, 25 Oct 2012 15:42:36 +0000 (15:42 +0000)]
Support for string and index lookup operators on collections in the C++ RNA API.

9 years agoFix issue after commit 50282: float texture painting non-color data textures did
Brecht Van Lommel [Thu, 25 Oct 2012 15:25:28 +0000 (15:25 +0000)]
Fix issue after commit 50282: float texture painting non-color data textures did
not do correct partial updates, now it remembers if the opengl texture is a
non-color data texture or not and takes that into account for the update.

Also includes some renaming ncd => is_data for consistency with color space
terminology used elsewhere.

9 years agofix (own issue with recent addition) [#32966] wireframe shading doesn't work right...
Campbell Barton [Thu, 25 Oct 2012 15:11:02 +0000 (15:11 +0000)]
fix (own issue with recent addition) [#32966] wireframe shading doesn't work right with decimator unsubdivide mode

9 years agoBugfix #24343
Ton Roosendaal [Thu, 25 Oct 2012 14:49:50 +0000 (14:49 +0000)]
Bugfix #24343

Ancient 2.5 UI issue:

The button views in Property Editor have an internal storage, to ensure the view
on the buttons stays same when you switch contextes or select objects.

Bug was that - in case buttons were all scrolled invisible - sometimes no slider
was drawn to indicate that.

Discussion on whether this is a good feature or not: the only improvement would
be to store such settings even per object... but that's a feature creep I think.

9 years agoFix for cmake syntax error: LLVM_VERSION string was not configurable, causing linker...
Lukas Toenne [Thu, 25 Oct 2012 14:31:52 +0000 (14:31 +0000)]
Fix for cmake syntax error: LLVM_VERSION string was not configurable, causing linker errors for people not using the default LLVM version (3.0 on Linux, 3.1 on OSX).

9 years agoUI: datablock selector widgets now show as a tooltip the datablock description
Brecht Van Lommel [Thu, 25 Oct 2012 13:32:05 +0000 (13:32 +0000)]
UI: datablock selector widgets now show as a tooltip the datablock description
from RNA, instead of the less useful "Unique datablock ID name".

9 years agoCamera: bring Title Safe display up to date, making it a Safe Areas option that
Brecht Van Lommel [Thu, 25 Oct 2012 13:31:45 +0000 (13:31 +0000)]
Camera: bring Title Safe display up to date, making it a Safe Areas option that
shows both title safe and action safe areas following more modern standards.

Patch #32822 by Harley Acheson, full description:

Our current "title safe" camera display option is anachronistic. It shows a
border of 10% on all edges, which used to be the recommended title safe area
for 4:3 content on standard definition CRT televisions. However we are very
unlikely to create new projects that output for SD TV at that aspect ratio.

This patch change the option to "safe areas" with and indicates the
"title safe" area (also known as "graphic safe") as well as the "action safe"
area. "Title Safe" is an area visible by all reasonably maintained sets, where
text was certain not to be cut off. "Action Safe" is a larger area that
represented where a "perfect" set (with high precision to allow less
overscanning) would cut the image off.

The current recommendation for Action Safe is 3.5% on all edges, which is the
maxiumum overscan for TVs now. The recommended title safe is now 5% vertically
and 10% horizontally for content that is of wider aspect ratio than 4:3. The
reason for the difference between horizontal versus vertical margin is because
wider content would be letterboxed on an older 4:3 television, giving it
additional margin.

9 years agoFix for strict compiler setup
Sergey Sharybin [Thu, 25 Oct 2012 13:12:37 +0000 (13:12 +0000)]
Fix for strict compiler setup

9 years agoUI: add hide/show menus item in header right click menu (same as +/- button).
Brecht Van Lommel [Thu, 25 Oct 2012 13:08:47 +0000 (13:08 +0000)]
UI: add hide/show menus item in header right click menu (same as +/- button).

Patch #32872 by Harley Acheson.

9 years agoBetter fix for #32837: DDS compressed textures now no longer need to be flipped
Brecht Van Lommel [Thu, 25 Oct 2012 12:54:16 +0000 (12:54 +0000)]
Better fix for #32837: DDS compressed textures now no longer need to be flipped
when saving, rather we flip the compressed texture during load. The code used
here comes from the chromium O3D project:

Also made it only load compressed for power-of-two resolution images, it doesn't
seem to work for other resolutions, just falls back to non-compressed then.

9 years agoBugfix #28298
Ton Roosendaal [Thu, 25 Oct 2012 12:53:27 +0000 (12:53 +0000)]
Bugfix #28298

When I added DPI support in the UI, I added code that refreshes views for 2d
regions. These refreshes also happened on screen switches or file select, causing
header views (horizontal scrolled) to clear.

Now the code less intrusive, changing header views in fewer cases.

This is a patch provided by Anthony Edlin. Thanks dude!

9 years agoCycles: use simplier strategy in next_tile for viewport rendering
Sergey Sharybin [Thu, 25 Oct 2012 12:03:36 +0000 (12:03 +0000)]
Cycles: use simplier strategy in next_tile for viewport rendering

No need to find tile closest to rendered center in this case, just
return first possible tile. Saves some computation power.

9 years agofix for nasty bug with frame dropping playback.
Campbell Barton [Thu, 25 Oct 2012 11:48:56 +0000 (11:48 +0000)]
fix for nasty bug with frame dropping playback.

When playback was running fast the frame step could be 0, making playback jittery.
this commit just makes sure the frame step is at least 1, but there is still an issue with framedrop skipping too many frames (or too few) which Ill check on next.

9 years agoUsability improvement!
Ton Roosendaal [Thu, 25 Oct 2012 11:18:05 +0000 (11:18 +0000)]
Usability improvement!

Duplicators and particles are now part of the selection code (mouse clicks).
Very annoying you couldn't select hair, particles or duplication systems.

9 years agoBugfix #32962
Ton Roosendaal [Thu, 25 Oct 2012 10:51:03 +0000 (10:51 +0000)]
Bugfix #32962

Menu buttons: the text label in a button was clipped on right too soon, there's
more space. Noticable especially on popup buttons with labels like "X" or "Y".

9 years agoAudaspace:
Joerg Mueller [Thu, 25 Oct 2012 10:42:09 +0000 (10:42 +0000)]

OpenAL multichannel playback support fixed. This should fix bug [#31561] Audio only coming from Front Left in layout and bge.

9 years agoAudaspace:
Joerg Mueller [Thu, 25 Oct 2012 10:25:30 +0000 (10:25 +0000)]

Fix for channel mapping bug. Now 7.1 channels should get mapped correctly.

9 years agoCleanup: remove old, commented code for constraints' space conversion for bones.
Bastien Montagne [Thu, 25 Oct 2012 10:14:35 +0000 (10:14 +0000)]
Cleanup: remove old, commented code for constraints' space conversion for bones.

9 years agoskip updating tessface customdata layers when joining meshes & clear tessface data...
Campbell Barton [Thu, 25 Oct 2012 08:48:05 +0000 (08:48 +0000)]
skip updating tessface customdata layers when joining meshes & clear tessface data on the target mesh so stale tessface data isnt used.

9 years agofix for build error in own commit with non gcc compilers. (and remove invalid comment)
Campbell Barton [Thu, 25 Oct 2012 07:53:11 +0000 (07:53 +0000)]
fix for build error in own commit with non gcc compilers. (and remove invalid comment)

9 years agobmesh todo: dont calculate normals in editmesh with modifiers applied, its assumed...
Campbell Barton [Thu, 25 Oct 2012 04:58:27 +0000 (04:58 +0000)]
bmesh todo: dont calculate normals in editmesh with modifiers applied, its assumed modifiers output correct normals at the moment.

9 years agoadd BLI_STATIC_ASSERT macro.
Campbell Barton [Thu, 25 Oct 2012 04:44:46 +0000 (04:44 +0000)]