Benoit Bolsee
9de407f13f
sync addons and tests with trunks
2011-06-07 20:34:23 +00:00
Nick Samarin
5ceb8b3d35
synched with trunk at revision 37212
2011-06-05 18:51:00 +00:00
Campbell Barton
08f44adba9
file selector now scales with DPI better
2011-06-05 14:00:06 +00:00
Campbell Barton
56befd2666
colorband and image header were ignoring DPI size
2011-06-05 13:20:30 +00:00
Ton Roosendaal
485a89f5d3
Bugfix: new DPI-controlled UI size code was setting 'view2d re-init'
...
flag on ED_area_initialize(). This however was causing 2 problems;
- the view state got reset (popping window view back)
- the view2d operator polls failed (sliders didnt work)
This re-init was only needed for the headers though, limiting it
to these types of regions solves it.
2011-06-05 12:57:09 +00:00
Campbell Barton
619df86fad
panel headers were not scaling with DPI properly
2011-06-05 12:47:17 +00:00
Campbell Barton
24292793a0
scale the file selector UI with the DPI, the region size can still be wrong though.
2011-06-05 10:05:13 +00:00
Campbell Barton
1d236097ab
workaround for supremely annoying UI glitch where you could accidentally hide the file selector header by accident.
...
using the logic - that a header taking up the full screen-area height will not have an action-zone added for resizing.
2011-06-05 09:22:14 +00:00
Campbell Barton
07619d8fc0
with the new scalable UI. hard coded values were still used for resizing the headers, with DPI of 56 the headers could not be un-hidden.
2011-06-05 09:00:36 +00:00
Campbell Barton
50d24425ce
py/drivers disable dont interning strings, no need really since this isnt done on every execution.
2011-06-05 08:18:37 +00:00
Campbell Barton
b727202921
compile without splash and icons when WITH_HEADLESS is set.
2011-06-05 07:55:18 +00:00
Campbell Barton
3a6adc0ed3
fix [ #27554 ] vertex group names
...
- duplicate vertex group names were not being checked for.
- also made the first duplicate end with .001 rather than .000
2011-06-05 04:52:32 +00:00
Guillermo S. Romero
a79072c80d
SVN maintenance.
2011-06-05 00:10:20 +00:00
Daniel Salazar
bd0d5247f4
Changed "Convert" to "Convert to" since the first one is incorrect. Removed some dots at the end of tooltips following the standard
2011-06-04 23:02:44 +00:00
Ton Roosendaal
88676349a4
Code holiday commit:
...
- fix: user pref, window title was reset to 'Blender' on tab usage
- Undo history menu back:
- name "Undo History"
- hotkey alt+ctrl+z (alt+apple+z for mac)
- works like 2.4x, only for global undo, editmode and particle edit.
- Menu scroll
- for small windows or screens, popup menus now allow to display
all items, using internal scrolling
- works with a timer, scrolling 10 items per second when mouse
is over the top or bottom arrow
- if menu is too big to display, it now draws to top or bottom,
based on largest available space.
- also works for hotkey driven pop up menus.
- User pref "DPI" follows widget/layout size
- widgets & headers now become bigger and smaller, to match
'dpi' font sizes. Works well to match UI to monitor size.
- note that icons can get fuzzy, we need better mipmaps for it
2011-06-04 17:03:46 +00:00
Campbell Barton
4a59928484
CMake option 'WITH_HEADLESS' to build blender in headless mode (no x11/xlib) with NULL ghost classe.
2011-06-04 14:12:55 +00:00
Campbell Barton
a440679c57
edits to make these cmake files compatible with my own basic cmake parser which checks for correctness in our files.
2011-06-04 11:06:41 +00:00
Campbell Barton
c6f3fabd16
fix [ #27568 ] Segmentation fault in Sequencer when adding an effect strip with python
...
disallow negative length effect strips.
2011-06-04 10:39:04 +00:00
Daniel Salazar
86f2f425bf
UI for texture space in mesh/curve/mball data properties
...
http://pasteall.org/pic/show.php?id=13244
2011-06-04 08:09:34 +00:00
Campbell Barton
1915f1b1e2
quiet 2 compiler warnings and update man page
2011-06-04 03:07:56 +00:00
Sergey Sharybin
d84c6a3cdb
Fix for linux buildslaves. Now they should be able to compile branches.
2011-06-03 21:36:39 +00:00
Brecht Van Lommel
06ca703737
BuildBot: various changes to support building branches.
2011-06-03 20:44:23 +00:00
Dalai Felinto
ed072f2fef
BugFix: [ #27556 ] Replace mesh for gfx in "Edit Object" actuator act illogically + other booleans that are flipped
...
Now I think we are all good. We still have a few actuators that were using TOGN before but that I didn't make as negative_boolean.
All fixed now:
- parent actuator
- edit object actuator
- action actuator
- shape actuator
2011-06-03 07:53:55 +00:00
Janne Karhu
6480ab10db
Fix for [ #27461 ] Particle Instance modifier doesn't work correctly with Hair Dynamics.
...
* Wrong matrix used for dynamic hair.
2011-06-03 05:51:39 +00:00
Campbell Barton
7ee9becfa3
disable python/string enum duplication from last commit because the array of duplicated strings can be freed and the pointers to the strings referenced still, the problem with python freeing strings that RNA references remains.
2011-06-03 04:39:18 +00:00
Campbell Barton
089d997cbc
when making the C/RNA copy of the python enum, duplicate all strings since theres no guarantee python wont free them immediately after, though in practice this isn't so common.
2011-06-03 04:21:41 +00:00
Campbell Barton
5332c602c9
pre-allocate the array when converting py/rna enums, also fix for memory leak with bad values.
2011-06-03 03:19:22 +00:00
Joerg Mueller
60f5b51484
Fix for [ #27562 ] audaspace not playing files in blenderplayer
...
blenderplayer wasn't initialising ffmpeg
This might also fix [#27558 ] GE Sound works in Blender but not in runtimes
2011-06-02 23:25:38 +00:00
Campbell Barton
45093f50bc
Quiet warnings for picky compilers.
2011-06-02 23:10:05 +00:00
Brecht Van Lommel
83609edd51
Fix related to #27309 : group nodes with a linked datablock that was missing would crash.
2011-06-02 17:34:01 +00:00
Brecht Van Lommel
32368aac43
Fix #27241 : crash with point density texture when using particle age/velocity
...
fallof for object vertices.
2011-06-02 16:59:12 +00:00
Campbell Barton
dd0522242a
addons now show expanded list again (since Brecht's commit now makes it fast)
...
also add utility function for getting cleaned, unique names from python: bpy_extras.io_utils.unique_name(...)
2011-06-02 15:21:47 +00:00
Brecht Van Lommel
7138fef58a
UI: fix two issues with expanded enum property buttons:
...
* they were too slow for dynamic python enums, calling the callback
to list the items for each button, to get a tooltip
* enum tooltips sometimes were showing the same description twice
2011-06-02 14:18:51 +00:00
Andrea Weikert
b4872b84c8
fix for [ #27410 ] Manual save kills actual .blend file if disk space is low
...
- moved do_history into WM_write_file after successful write of .blend@ temporary file
- Added new file flag, to avoid writing history on writing the startup.blend, autosave files and undo.
Thanks Campbell, Brecht for review!
2011-06-02 12:44:59 +00:00
Campbell Barton
1ba4550d27
committed this by mistake.
2011-06-02 09:04:07 +00:00
Campbell Barton
ab2450a58d
fix [ #27557 ] Linked object (camera) should not be able to set position by using camera to view operator
2011-06-02 08:55:26 +00:00
Campbell Barton
dbe1f07c76
fix [ #27553 ] Weird resulsts when animating opacity on (color) strip
2011-06-02 08:45:28 +00:00
Campbell Barton
d46da5a09d
mathutils support for color arithmetic, also some minor whitespace edits.
2011-06-02 08:29:16 +00:00
Sergey Sharybin
211cd99cbc
Fix #27539 : Sculpt data is lost after editing base mesh
...
Face's totdisp was set to correct value, but memory hasn't been
allocated for disps. Handle this in multires_topology_changed(),
so the whole MDISPS layer wouldn't be totally re-allocated when
applying displacement.
2011-06-02 04:58:27 +00:00
Campbell Barton
97d7496c96
update to glew 1.6 from 1.5.8
2011-06-02 00:05:54 +00:00
Campbell Barton
22ca037c58
uninitialized variable was used when ensuring mirrored vertex groups.
2011-06-01 23:55:49 +00:00
Brecht Van Lommel
81982140b8
Fix #27550 : texture node editor header was still showing texture datablock
...
selector even if there is no active texture slot or node, now it's disabled
in that case.
2011-06-01 16:17:38 +00:00
Brecht Van Lommel
f50fb549db
UI: template_ID now takes into account if the property is editable.
2011-06-01 16:13:48 +00:00
Brecht Van Lommel
36cbd78bc3
Fix #27490 : export key configuration gave error when trying to export
...
properties from an unknown (e.g. removed) operator.
2011-06-01 14:35:14 +00:00
Brecht Van Lommel
7b4aac3e34
Fix #27481 : windows uninstaller could remove files unrelated to blender
...
when installing to a folder that already existed. Now the uninstaller
will remove only the files it has installed, and leave any other files
in the installation directory intact.
2011-06-01 13:13:55 +00:00
Brecht Van Lommel
a180bfe267
Fix #27541 : f-curve generator modifier file read missed endian switch,
...
found by Guillaume Roguez.
2011-06-01 13:10:37 +00:00
Lukas Toenne
cc7a154fac
Material nodes were checking the nodestack->hasinput flag to determin whether the original material settings or the node input data would be used. This causes trouble when the input data is not the direct input constant of the node nor a direct link in the same tree (i.e. a group socket). Just checks if sockets are linked now (not very nice, but not hackier than the rest of that node).
...
Fixes bug #27511 .
2011-05-31 17:54:48 +00:00
Campbell Barton
8d2e4cf42f
fix [ #27514 ] Fix Bug 27510 Color key hue flipping error (composite node)
2011-05-31 14:06:29 +00:00
Brecht Van Lommel
a8a36f31bd
Button value reset:
...
* shortcut key changed from numpad 0 to delete.
* fix missing undo push, now it calls the operator.
Patch by Damir Prebeg, thanks!
2011-05-31 09:56:38 +00:00
Campbell Barton
f51c9fa496
fix for mistake in case insensitive image load.
2011-05-31 09:55:50 +00:00