Bastien Montagne
236a94268e
Merging r39199 through r39485 from trunk into vgroup_modifiers.
2011-08-17 11:11:43 +00:00
Campbell Barton
dd8d24ff9d
fix [ #28274 ] Cant select aditional object in edit mode.
...
missing feature from 2.4x
2011-08-16 22:44:12 +00:00
Campbell Barton
feb52de6b5
fix for error calling RNA_property_float_get_index on non array float rotations when displaying.
2011-08-16 22:18:24 +00:00
Campbell Barton
dddfb5e173
minor fix, armature selection outline was not being drawn for non-active, selected armature object when they were in pose mode.
2011-08-16 13:46:51 +00:00
Thomas Dinges
b4df54151a
2.6 Node Muting:
...
* Removing check if Node is in between, so in-/output nodes can be muted as well. Useful for example if you want to temporarily mute a file output node.
2011-08-16 08:40:25 +00:00
Brecht Van Lommel
ae884d2e54
Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unused
...
functions.
2011-08-15 16:18:04 +00:00
Brecht Van Lommel
470b39608a
Fix #27803 : editing texture did not update compositing nodes using that texture.
2011-08-15 12:07:52 +00:00
Campbell Barton
e4f2234fff
workaround [ #28250 ] Append dialogue will ask to create new directory inside a .blend
...
directory button isnt library aware, for now disable it when a libraries loaded.
2011-08-15 04:11:55 +00:00
Campbell Barton
2c8e1e633c
comment unused lines.
2011-08-15 03:41:31 +00:00
Campbell Barton
02b24e655b
fix for bug where changing movie filepaths would reset the strip length.
...
also fixed possible & unlikely buffer overflow.
2011-08-14 14:43:11 +00:00
Campbell Barton
181104261d
patch [ #28247 ] Fix for: [ #28236 ] Separate By Materials fails when some materials "available" to the mesh are unassigned
...
from Alex Fraser (z0r)
2011-08-14 12:02:01 +00:00
Campbell Barton
cad6ed9bc6
fix for fix r39388, this added checkboxes to buttons which are not supposed to have them.
...
now only add checkboxes when the background is not emboss - which works for menus but will work in more general cases too.
2011-08-14 11:38:17 +00:00
Campbell Barton
540f0c64b5
add in asserts for when array/non array RNA funcions are used incorrectly, would have made previous fix a lot easier to find.
...
also remove unused argument from RNA_property_array_check.
2011-08-14 10:28:18 +00:00
Campbell Barton
62fdee3d8a
fix [ #28245 ] Checkboxes in menu items fail for boolean arrays.
...
2 bugs with displaying boolean arrays.
2011-08-14 10:17:41 +00:00
Campbell Barton
2187f6772c
patch [ #28246 ] Fix for [ #28240 ]: selecting more than one object in the outliner with "shift left mouse" doesn't work anymore
...
from Alex Fraser (z0r)
2011-08-14 08:39:13 +00:00
Campbell Barton
fc128c970b
- recently restored sequencer change data operator didnt reset the offsets after a hard cut, causing the new data to be trimmed.
...
- add change data operator to strip panel next to image file properties since editing every image manually isnt really usable.
- added new sequencer operator "Clear Offsets" (Alt+O), useful to reset the start/end frames around the strip data.
2011-08-14 03:59:22 +00:00
Campbell Barton
c83417b2e2
running bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.
2011-08-13 14:24:53 +00:00
Brecht Van Lommel
a7dd264940
Nodes: make node set active function usable outside of node editor, and in doing
...
so fix a missing updating when activating a node with multiple node editors open.
2011-08-12 18:27:48 +00:00
Brecht Van Lommel
0cb606a9bc
Code cleanup: fix wrong doxygen file name.
2011-08-12 18:24:17 +00:00
Brecht Van Lommel
ceb9dfbdac
Code cleanup: remove seam drawing in face select mode, was left over from when
...
seams were edited there, now only needed in edit mode.
2011-08-12 18:13:55 +00:00
Brecht Van Lommel
e4bdb6e95a
Code cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
...
is now just as fast anyway with delayed flush.
2011-08-12 18:06:05 +00:00
Campbell Barton
ada88c8d8e
sequencer todo: change sequence added back (C key)
...
split up into operators
- change effect input
- change effect type
- change file data
Change plugin is not ported back yet.
2011-08-12 06:08:22 +00:00
Campbell Barton
347f4fac74
add WM_FILESEL_FILES to WM_operator_properties_filesel, sequencer was doing this on its own.
2011-08-12 03:53:26 +00:00
Campbell Barton
a03b52af81
soft limits for add object rotation value, without cont. grab it would get to very large numbers with a small drag.
2011-08-12 03:18:04 +00:00
Sergey Sharybin
944cdf04dd
Fix for crash when using undo during sketching session.
...
Currently, grease pencil conflicts with such operators
as undo and set object mode which makes behavior totally
unpredictable and crash for some cases.
The only way to solve this proper is to ger rid of pointers
to data which can chage stored in operator custom data.
2011-08-11 13:40:47 +00:00
Guillermo S. Romero
80acfdc7a0
SVN maintenance.
2011-08-11 06:40:04 +00:00
Campbell Barton
a7663cc377
use ghash for operator and menu types, was doing string lookup in the operator list (containing over 1000 items) for each button draw.
...
gives small speedup for UI drawing and overall startup time.
2011-08-11 06:06:17 +00:00
Campbell Barton
0fac849d44
ifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its obvious. this will keep merging pepper changes from conflicting and can be removed when its finally merged.
2011-08-11 05:50:05 +00:00
Campbell Barton
e97617e3fb
merge outliner refactor so we dont have to keep outliner.c locked in trunk.
...
this wont build because of changes spesific to pepper, fix coming next.
svn merge source/blender/editors/space_outliner -r36830:38987 https://svn.blender.org/svnroot/bf-blender/branches/soc-2011-pepper/source/blender/editors/space_outliner
2011-08-11 05:46:18 +00:00
Campbell Barton
07e8bfd2f2
unlocking outliner.c and removing... (merging refactor from pepper but looks like this will take a few steps)
2011-08-11 05:43:20 +00:00
Campbell Barton
50277c48ba
fix for regression for shape key UI, values are now editable again in the list, double checked this works for mesh/curve and lattice types.
2011-08-10 20:12:27 +00:00
Thomas Dinges
e8471be5f2
2.59 Splash screen by tomket7. Congratulations!
...
Chosen by the jury Ben Simonds, Reynante Martinez and Hjalti Hjálmarsson.
2011-08-10 16:03:45 +00:00
Campbell Barton
cff2caa8a7
fix [ #28206 ] Motion Paths shown in 3DView even when Only Render option is enabled
2011-08-10 15:53:46 +00:00
Campbell Barton
a10e00dc57
fix for crash undoing grease pencil session, last action would free entire frame which the session held a reference to.
2011-08-09 21:32:46 +00:00
Campbell Barton
3ddbc3869d
fix [ #28197 ] Undoing Grease pencil removes last 2 strokes
2011-08-09 20:33:35 +00:00
Bastien Montagne
97d4240911
Merging r38818 through r39198 from trunk into vgroup_modifiers.
2011-08-08 21:28:51 +00:00
Campbell Barton
85b77c931d
fix [ #28183 ] Wavefront OBJ import has no preset saving
2011-08-08 14:50:10 +00:00
Campbell Barton
24acf58fc4
quiet harmless py resource warning - file opened but not closed.
2011-08-08 09:01:09 +00:00
Campbell Barton
cc0ec3aa33
fix [ #28178 ] make single user copy of object data doesn't work
2011-08-08 08:22:01 +00:00
Mike Erwin
3a55da7616
removed old ndof transform code, to be replaced with modern stuff in 2.6
2011-08-07 17:01:44 +00:00
Sergey Sharybin
0dea4df764
Changed do_version condition for noodle_curving.
...
It should be re-set to 5 for files saved in 2.58.1 release.
2011-08-07 14:57:25 +00:00
Campbell Barton
117ec4a91a
comment unused vars
2011-08-07 04:22:33 +00:00
Mike Erwin
5dd2b3e06f
fixed crash when NDOF operators were called without an NDOF_MOTION event
2011-08-06 22:31:16 +00:00
Campbell Barton
79e359f92a
rna/ui: avoid duplicate property gHash lookups by passing the property when its already been found.
...
added _prop suffix to ui functions which take a prop rather then a propname, may change this later since its not that nice but for gsoc branches this keeps existing UI functions working the same.
2011-08-06 16:00:00 +00:00
Campbell Barton
2f5809d831
make ui_def_but_rna into 2 functions, once which takes a prop, another which takes a propname, no functional change yet but lets us avoid duplicate hash lookups.
2011-08-06 14:57:55 +00:00
Campbell Barton
dc4dede802
for UI text drawing use BLF_ascender(fs->uifont_id) rather then BLF_height(fs->uifont_id, "2"), while profiling draw noticed that the hash lookup on the character and utf8 next were being called on every text draw, use BLF_ascender since it doesn't do any lookups.
2011-08-06 06:38:18 +00:00
Campbell Barton
d78be1f762
remove copy modifiers function, now handled in link data operator.
2011-08-06 04:19:30 +00:00
Brecht Van Lommel
e6e4c7ef8b
KEYMAP REFACTORING
...
Diff Keymaps
User edited keymaps now no longer override the builtin keymaps entirely, but
rather save only the difference and reapply those changes. This means they can
stay better in sync when the builtin keymaps change. The diff/patch algorithm
is not perfect, but better for the common case where only a few items are changed
rather than entire keymaps The main weakness is that if a builtin keymap item
changes, user modification of that item may need to be redone in some cases.
Keymap Editor
The most noticeable change here is that there is no longer an "Edit" button for
keymaps, all are editable immediately, but a "Restore" buttons shows for keymaps
and items that have been edited. Shortcuts for addons can also be edited in the
keymap editor.
Addons
Addons now should only modify the new addon keyconfiguration, the keymap items
there will be added to the builtin ones for handling events, and not get lost
when starting new files. Example code of register/unregister:
km = wm.keyconfigs.addon.keymaps.new("3D View", space_type="VIEW_3D")
km.keymap_items.new('my.operator', 'ESC', 'PRESS')
km = wm.keyconfigs.addon.keymaps["3D View"]
km.keymap_items.remove(km.keymap_items["my.operator"])
Compatibility
The changes made are not forward compatible, i.e. if you save user preferences
with newer versions, older versions will not have key configuration changes that
were made.
2011-08-05 20:45:26 +00:00
Campbell Barton
a157112ac5
fix for icon scaling with the DPI setting
...
- icons were scaling by the sqrt(dpi)/8.48528, but infact they only need to be scaled by (dpi/72).
- UI_icon_get_width value was being used without multiplying by dpi scale.
2011-08-05 10:45:32 +00:00
Campbell Barton
ad7ea2f892
get a tad more vertical space in the toolbar.
2011-08-05 09:04:11 +00:00