Commit Graph

24079 Commits

Author SHA1 Message Date
Joseph Eagar
aaa7c493e4 merge of last commit to trunk 2010-05-11 20:06:20 +00:00
Campbell Barton
3409eb429e fix for crash reading pointcache, was reading over the buffer size, use lzo1x_decompress_safe rather then lzo1x_decompress 2010-05-11 19:37:17 +00:00
Ton Roosendaal
c3dbd2a46b Dropbox refinement in 3d window: the "drop image" dropbox checks for
object under mouse cursor. If not, another dropbox operation can be used.
2010-05-11 14:25:48 +00:00
Campbell Barton
e8408697de bpy.utils.blend_paths(absolute=False) (was Blender.GetPaths in 2.4x) 2010-05-11 07:08:32 +00:00
Dalai Felinto
8828234902 Logic UI: using the RNA interface as default - commit pre-subversion bumping (i.e. no DNA changes here)
Also: extra set funcs, layout adjustments

The patch for the subversion commit was getting too big, and it will be hard to distinguish what was essentially do_version + DNA changes and what was layout adjustments.

So this is the first part of the commit. The next may take a bit more because I'm not so confident in my readfile changes.
2010-05-11 06:56:59 +00:00
Campbell Barton
daba1d23ff utility functions
bpy.utils.smpte_from_seconds(time)
 bpy.utils.smpte_from_frame(frame)
2010-05-10 20:41:01 +00:00
Campbell Barton
a2166e5bc1 make python keyframe insert and delete functions use keyword arguments 2010-05-10 18:47:03 +00:00
Thomas Dinges
9502fb0dcf Wrong operator description in preset base class. 2010-05-10 18:04:04 +00:00
Thomas Dinges
68376214b5 Themes "3D View":
*Minor code changes and added some missing edge settings.
2010-05-10 17:54:34 +00:00
Sergey Sharybin
8d9e55122f "Every Nth number of Points" operator for curves/surfaces
This is replacement of old "Select every Nth" operator with
de-select strategy to make the same behaviour as for meshes.
2010-05-10 17:32:11 +00:00
Brecht Van Lommel
50b4129398 Recommit fix that I seem to have uncommitted accidentally, had the fix
still in my source tree but svn wasn't showing any diffs.. weird.
2010-05-10 15:02:37 +00:00
Campbell Barton
3c7ec333ce remove usless ../../ with 'Make Paths Absolute' operator 2010-05-10 12:58:21 +00:00
Matt Ebb
6321838cce Tweak for elubie, scroll main file selector window immediately when newly added
folder is out of view.
2010-05-10 08:57:58 +00:00
William Reynish
6a74c16af7 Fixed a crash when dropping items on the 3D View background. Todo: Make it add a backdrop image ;) 2010-05-10 08:05:31 +00:00
Matt Ebb
4b79effc80 Enable external drag/drops into text editor 2010-05-10 06:29:34 +00:00
Matt Ebb
523f8e3557 Give Sensors/Controllers/Actuators more sensible names when they're created
(based on their type)
2010-05-10 05:46:01 +00:00
Matt Ebb
f9495c7bef Added search list widget for 'actuator sensor' too. 2010-05-10 04:59:44 +00:00
Matt Ebb
1e0caad5da Update Armature actuator UI to use pointer list widgets, rather than text entry fields 2010-05-10 04:49:09 +00:00
Xavier Thomas
bd4fe1b71d Fix for histogram Luma mode not working when waveform is in RGB mode.
Also unified the scope vocabulary.
2010-05-10 03:42:22 +00:00
Matt Ebb
413c4c91ca Fix [#22296] Wrong Operator Names? 2010-05-10 01:49:35 +00:00
Matt Ebb
d384174b45 Tweaks to image editor scopes, while testing a bug 2010-05-10 01:46:44 +00:00
Matt Ebb
29ba391a16 Turned on auto-execute python scripts by default, as agreed in recent meeting.
Also added notice to download page:
http://www.blender.org/download/get-25-alpha/

Which links to here, too:
http://wiki.blender.org/index.php/Doc:2.5/Manual/Introduction/Installing_Blender/Security
2010-05-10 01:44:55 +00:00
William Reynish
e8a2059b84 Improved the Ray Sensor UI in the updated Logic Editor. 2010-05-10 00:12:36 +00:00
William Reynish
5afb24cedb Added backspace as an alternative to the X key, for deleting things. 2010-05-09 21:37:53 +00:00
William Reynish
95bb364bda ***Drag and drop fun!***
Added ability to drag images and movies directly onto objects to assign them as textures.

You can drag them from the file browser, directly from the OS or even from other apps. Here's a video to demonstrate:

http://www.youtube.com/watch?v=fGe2U8F_JvE

Ton wanted to show me how to add it, but he ended up doing almost all of the coding himself ;)

Ton/Matt: Dropping a text file in the Text Editor fails for some reason. It aught to work - probably a keymap conflict of some sorts?
2010-05-09 18:07:17 +00:00
Campbell Barton
6d8cb93f71 building docs failed when the output directory didnt alredy exist. 2010-05-09 17:18:57 +00:00
Campbell Barton
46a40c9905 minor cmake changes
- only give quicktime option for apple and windows
- disable collada by default on non-apple-unix since its not in debian repo
2010-05-09 14:43:31 +00:00
Thomas Dinges
80f6671dfe Some more IPO > F-Curve renaming in RNA. 2010-05-09 09:49:55 +00:00
Thomas Dinges
d4ce8a7717 Renaming IPO > F-Curve in the Logic Editor (Layout Engine version) 2010-05-09 09:43:49 +00:00
Thomas Dinges
c7a6bf6fc2 2.5 Constraint UI:
* Slight alignment change in header, to match modifiers box a bit better. Basically the "name" filed expands with the size of the properties panel now, which looks better imho.
* Code cleanup: Removed some old drawing functions, and the Python Constraint UI Code, which was not functional anyway.
2010-05-09 08:33:18 +00:00
Campbell Barton
d92751fb33 missing arg from docstring 2010-05-09 00:37:12 +00:00
Campbell Barton
d73af20b7a py/rna: defining new properties now replaces the old onces and raises an error if they collide with dynamic props. 2010-05-09 00:06:35 +00:00
Campbell Barton
5548e86795 function to remove property
eg:
 bpy.types.Scene.IntProperty(attr="myprop") # adds
 bpy.types.Scene.RemoveProperty(attr="myprop") # removes
2010-05-08 23:34:54 +00:00
Dalai Felinto
94cd746566 Logic UI - lookup for properties (matt need your help to finish it)
I based this code on drawnode, so I hope this is the right way of doing this.

Working Sensors:
- keyboard
- property

Working Actuators:
- property (partly)
- ipo
- action
- shape action
- message
- random

Need help with:
- actuator sensor
- property actuator (for the second object)

- touch/ray/collision sensors + constraint actuator
(for the material lookup, not the property one)
maybe a doversion + changing the type to material work better here
(as we have in touch sensor)

+ added notifier for the game property.
2010-05-08 22:11:00 +00:00
Andrea Weikert
5be1fd3592 == filebrowser ==
- smooth scrolling to editable button after new directory is created
(for now scrolling starts as soon as the mouse moves back to the file list area, for Matt to check if immediate scrolling is possible)

- fix for autocomplete directory, show first matching part if directory doesn't exist, otherwise won't work for directories starting with the same prefix like textures_walls and textures_grass for example.
2010-05-08 21:02:22 +00:00
Andrea Weikert
9aa39368cc == MSVC projectfiles ==
- update for latest ImBuf changes
2010-05-08 20:57:09 +00:00
Campbell Barton
5741dbf6e4 render time wasnt being written to the metadata of images. 2010-05-08 20:07:29 +00:00
Dalai Felinto
2909a4988b Logic UI: add notifiers for sensors and controllers (so the ui updates if you change the value through script) + some layout adjusments. 2010-05-08 19:52:13 +00:00
Joilnen Leite
79d5d623e0 Fixing the makefiles compiling 2010-05-08 19:48:28 +00:00
Campbell Barton
d58a591072 Sequencer crashes with clips that have OpenGl render enabled (rev 28658)
disabling for now, opengl write rendering isnt drivial to solve.
2010-05-08 19:08:33 +00:00
Campbell Barton
5afd3f192a bugfix [#22281] Edit mode face selection dots gone from textured viewport mode
tweaked the logic for drawing face dots
2010-05-08 17:54:29 +00:00
Campbell Barton
5371c54a4c bugfix [#21085] Sequencer file selector for movies is strange
elubie fixed the first part, this fixes the internal data updating while keeping the frame range.
2010-05-08 16:36:28 +00:00
Campbell Barton
9c1a9d9379 revert own commit 28662.
strnlen is a GNU extension according to http://unixpapa.com/incnote/string.html
2010-05-08 15:37:29 +00:00
Thomas Dinges
d906d8ce3a Scons compile fix for SVN 28661.
* Missing 'blenloader' include.
2010-05-08 07:48:37 +00:00
Campbell Barton
ad068e6351 remove BLI_strnlen, use _strnlen as strnlen on windows.
cant test on windows but from what I can tell this exists like _vsnprintf
2010-05-08 07:34:01 +00:00
Campbell Barton
fcaca6c5bd - console drop handler for datablocks & filepaths.
- added BLO_idcode_to_name_plural() for names like meshes, scenes, libraries etc from and ID type.
2010-05-08 07:25:26 +00:00
Damien Plisson
68173d1dc0 Fix blenderplayer linking issues when building with CMake on unix systems 2010-05-08 05:56:34 +00:00
Matt Ebb
d8fa59ce01 Allow clicking in the empty area of a scrollbar (in the 'groove' outside the scroller itself)
to page up/page down.
2010-05-08 04:32:48 +00:00
Dalai Felinto
0511086d5f adjusment to constraint actuator layout (forgot to expose normal and before) 2010-05-07 23:56:26 +00:00
Campbell Barton
14b41f9078 bugfix [#22276] filemanager autocompleate based on current path
also added autocomp to filename in fileselector
2010-05-07 23:34:03 +00:00