Commit Graph

42165 Commits

Author SHA1 Message Date
Campbell Barton
5549904171 style cleanup 2012-10-29 02:11:40 +00:00
Lukas Toenne
dd106b5c7a Removed the initial HIDDEN flag from the UI sidebar region in node editor. This way the sidebar is visible by default when making a new node editor.
Rationale is that the sidebar contains some extra detail settings for several node types. Many users don't seem to even know that this feature exists, so making it visible by default should be helpful.
2012-10-28 17:47:47 +00:00
Lukas Toenne
5464979dfd Fix for freeing node trees that are part of other data blocks (material, world, lamp, texture, scene). These node trees were not properly freeing the IDProperty data, due to not being called from BKE_libblock_free.
Now there is an extra function BKE_libblock_free_data, which is called explicitly in ntreeFreeTree if the tree is not part of the library data (ntreeCopyTree does a similar thing using BKE_libblock_copy_data).
2012-10-28 17:09:50 +00:00
Sergey Sharybin
07d9cb739a Buildbot: keem sm_13 disabled for new buildbot too 2012-10-28 17:04:32 +00:00
Sergey Sharybin
4f8c55c67c 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
2012-10-28 17:03:36 +00:00
Sergey Sharybin
445bd0eb6e Buildbot: add glibc2.11 slaves, not online yet 2012-10-28 16:58:44 +00:00
Sergey Sharybin
b980b43e66 Buildbot: copy master.cfg from builder.blender.org
Seems this file went out of sync with actual file on the server
2012-10-28 16:40:31 +00:00
Campbell Barton
656b884387 fix for extruding edges giving incorrect (swapped) loop data for new faces. 2012-10-28 16:17:20 +00:00
Campbell Barton
0d5a6dccf7 code cleanup: minor changes before committing functional changes. 2012-10-28 15:37:29 +00:00
Campbell Barton
0c6a0b293f style cleanup 2012-10-28 15:23:16 +00:00
Ton Roosendaal
d800cffaf1 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.
2012-10-28 14:49:40 +00:00
Ton Roosendaal
520e1b2090 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.
2012-10-28 12:20:38 +00:00
Sergey Sharybin
694aef1933 Fix #32981: Render baking redraw 2012-10-28 12:08:36 +00:00
Ton Roosendaal
dca3587edd 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.
2012-10-28 11:19:35 +00:00
Ton Roosendaal
5819833191 Another leftover debug print, sorry! 2012-10-28 09:26:50 +00:00
Brecht Van Lommel
b4642d203d 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).
2012-10-27 18:54:45 +00:00
Andrea Weikert
8a6797d6a9 == 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
2012-10-27 18:31:52 +00:00
Andrea Weikert
89b7e22578 == 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.
2012-10-27 17:47:58 +00:00
Ton Roosendaal
3f88ca0d80 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 ;)
2012-10-27 17:21:21 +00:00
Miika Hamalainen
c64fa6a344 Smoke/Dynamic Paint: Allow use of fluid sim generated particles as emitter/brush. 2012-10-27 17:19:55 +00:00
Ton Roosendaal
b6da3611eb 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
previews.
2012-10-27 16:47:08 +00:00
Campbell Barton
65bc9ee8d0 revert last commit, it broke regular face extrude. need to look into it further. 2012-10-27 15:34:54 +00:00
Ton Roosendaal
e106003cdb 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
2012-10-27 15:27:27 +00:00
Campbell Barton
71a0fb5dde fix for extruding single edges from faces giving flipped loop data - UV's/VCols 2012-10-27 15:24:19 +00:00
Campbell Barton
9c2d72a27d comment testing typechecking code, was causing issues on gcc 4.4 for some reason. 2012-10-27 15:08:40 +00:00
Campbell Barton
c9e5b1e6ee add --debug-handlers so --debug-events isnt so noisy. 2012-10-27 15:05:12 +00:00
Campbell Barton
7413adce04 add back debug prints for event handlers. not sure why they were removed in r51683 2012-10-27 14:55:31 +00:00
Ton Roosendaal
4959c8767e Bugfix:
Menu accellerator now accepts fast clicking again. (ctrl-q + q)
2012-10-27 14:10:25 +00:00
Gaia Clary
1e56d0b033 wrong definition of parameterlist 2012-10-27 13:41:04 +00:00
Ton Roosendaal
4682e7c7ce 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.
2012-10-27 13:35:33 +00:00
Joshua Leung
9b2a0f3824 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.
2012-10-27 13:22:44 +00:00
Sergey Sharybin
b9e652a669 SCons: more libraries could be specified to be static now
Jack, jpeg, png, openmp, opencollada libraris now could be forced to be static
2012-10-27 13:22:36 +00:00
Ton Roosendaal
16544fb54b Putting back mysterious lines that check KM_CLICK keymap conflicts
It's a real puzzle this click bizz!
2012-10-27 13:15:11 +00:00
Ton Roosendaal
601cd0215c Removed leftover debug print. 2012-10-27 12:31:35 +00:00
Lukas Toenne
9c2eaad7aa 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.
2012-10-27 11:56:21 +00:00
Campbell Barton
9fc95bd7ee use min/max inline functions where MIN2/MAX2 were doing type conversion. 2012-10-27 11:18:54 +00:00
Bastien Montagne
ec67334e25 A few more BMesh errors messages translated, and "automated" translation for modifers too! 2012-10-27 11:12:09 +00:00
Lukas Toenne
91584b0f0c Fix for missing bracket in r51674. 2012-10-27 11:10:12 +00:00
Campbell Barton
aeba4950c3 style cleanup 2012-10-27 10:42:28 +00:00
Ton Roosendaal
25f2439c47 Transform: didn't set "event handled" to zero on undhandled events.
(like double click)
2012-10-27 10:22:41 +00:00
Bastien Montagne
5d9d76e3f1 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!
2012-10-27 10:05:38 +00:00
Ton Roosendaal
3189dac959 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.
2012-10-27 09:52:26 +00:00
Campbell Barton
d6d8de015c change BLI_strlen_range_utf8 to the more conventional BLI_strnlen_utf8 2012-10-27 02:47:39 +00:00
Campbell Barton
e903701450 style cleanup 2012-10-27 01:46:47 +00:00
Campbell Barton
bf4be941fc 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.
2012-10-27 01:33:33 +00:00
Thomas Dinges
818710f082 * Windows compile fix for __func__ (r51642) 2012-10-26 18:06:14 +00:00
Bastien Montagne
16ced60372 Fix Blender version retrieving... 2012-10-26 17:49:36 +00:00
Bastien Montagne
c9dade4fe0 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()... 2012-10-26 17:32:50 +00:00
Bastien Montagne
6abd7fda52 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... 2012-10-26 17:29:21 +00:00
Ton Roosendaal
dd176509fd 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.
2012-10-26 16:46:26 +00:00