blender.git
9 years agomerged 28885 frame update fix to trunk, slightly updated
Joseph Eagar [Thu, 20 May 2010 15:18:55 +0000 (15:18 +0000)]
merged 28885 frame update fix to trunk, slightly updated

9 years agomissed some boundbox's drawing when they shouldnt
Campbell Barton [Thu, 20 May 2010 15:04:47 +0000 (15:04 +0000)]
missed some boundbox's drawing when they shouldnt

9 years agoQuicky untested fix for MotionPath baking bug - heads/tails doesn't work (as reported...
Joshua Leung [Thu, 20 May 2010 12:34:32 +0000 (12:34 +0000)]
Quicky untested fix for MotionPath baking bug - heads/tails doesn't work (as reported by William). Hopefully this improves/fixes the problem.

9 years agoMotion Path Tweaks:
Joshua Leung [Thu, 20 May 2010 12:31:55 +0000 (12:31 +0000)]
Motion Path Tweaks:

- #22155: keyframe dots not shown on path for bone keyframes that aren't in a group with a matching name. Since this situation is going to become more common in 2.5, I've added an option which will alternatively just search the entire action to find all F-Curves associated with bones. The old option is still the default though for the general cases.

- When keyframe drawing is enabled, the current frame will also be indicated on the path now as a (bigger) green dot, as requested by William. This makes it easier to see the position on the path on the current frame.

9 years agoDurian Request: Panel for editing Keyframe values numerically
Joshua Leung [Thu, 20 May 2010 11:49:53 +0000 (11:49 +0000)]
Durian Request: Panel for editing Keyframe values numerically

This panel allows editing of the coordinates of the 'first selected keyframe' on the Active F-Curve. That is, if you've got keyframes A (5), B (7), and C (12), and B & C are both selected, then the 'active keyframe' will be B.

While I still think it's more efficient to use the cursor for batch-setting a bunch of keyframes, there are currently problems using that for sub-frame placement on the x-axis.

Notes:
- There is none of the averaging crap from before, where no accurate value could ever be set.
- Take care when setting the values of the handles, since getting correct F-Curve recalc flushing working via the RNA stuff is VERY TRICKY, and has been left out for now to get something workable. I recommend setting the values numerically, then grabbing these keyframes and immediately cancelling, to get these updates done.

9 years agoBugfix #22374: index=-1 not work for keyingset.paths.add() function
Joshua Leung [Thu, 20 May 2010 11:04:15 +0000 (11:04 +0000)]
Bugfix #22374: index=-1 not work for keyingset.paths.add() function

Simple typo which meant that paths with 'Entire array' set could not be reimported properly.

9 years agoProperly restored shift-up/down arrow as alternative hotkeys for jumping between...
Joshua Leung [Thu, 20 May 2010 10:03:26 +0000 (10:03 +0000)]
Properly restored shift-up/down arrow as alternative hotkeys for jumping between start/end frames, as mentioned by venomgfx a while ago.

9 years agoonly-render option now wont draw wire or boundbox unless in wire or boundbox draw...
Campbell Barton [Thu, 20 May 2010 09:17:49 +0000 (09:17 +0000)]
only-render option now wont draw wire or boundbox unless in wire or boundbox draw modes.

note: Im not all that happy with where this feature is going in terms of readability, however preview renders are very distracting when physics meshes and bounding boxes are animating over the top of characters.

9 years agosome rna numbers were signed when they shouldnt be (simplify could have its subdivisi...
Campbell Barton [Thu, 20 May 2010 08:51:03 +0000 (08:51 +0000)]
some rna numbers were signed when they shouldnt be (simplify could have its subdivisions set negative)

9 years agoview3d modal operator template
Campbell Barton [Thu, 20 May 2010 07:49:41 +0000 (07:49 +0000)]
view3d modal operator template

9 years agoBugfix #22204: curve modifier onto lamp energy with more than one user of lamp settin...
Joshua Leung [Thu, 20 May 2010 05:18:27 +0000 (05:18 +0000)]
Bugfix #22204: curve modifier onto lamp energy with more than one user of lamp settings creates two modifiers

This was caused by the multi-user data appearing multiple times in the channel list. Now most editing functions filter out duplicates before doing anything to prevent these problems.

Hopefully the additional cost of filtering the entire list an extra time won't be too much of a speed/mem hit...

9 years agoFCurve.evaluate() and bounds() patch from Dan Eicher
Campbell Barton [Thu, 20 May 2010 04:44:10 +0000 (04:44 +0000)]
FCurve.evaluate() and bounds() patch from Dan Eicher

9 years ago3D View Header - Removing the annoying little extra gap between expand-icon and first...
Joshua Leung [Thu, 20 May 2010 03:52:35 +0000 (03:52 +0000)]
3D View Header - Removing the annoying little extra gap between expand-icon and first menu

9 years agoaccess to 3d viewport location, distance and rotation.
Campbell Barton [Wed, 19 May 2010 21:10:46 +0000 (21:10 +0000)]
access to 3d viewport location, distance and rotation.
- rotation must stay normalized (not enforced since it could break calculations)
- view_location is flipped internally.

9 years agopossible un-initialized value
Campbell Barton [Wed, 19 May 2010 17:06:36 +0000 (17:06 +0000)]
possible un-initialized value

9 years agorevert 28807, fix for [#21385] Multilayer OpenEXR files import into other compositors...
Campbell Barton [Wed, 19 May 2010 16:23:09 +0000 (16:23 +0000)]
revert 28807, fix for [#21385] Multilayer OpenEXR files import into other compositors upside down

looks like a threading problem:
 Easy to redo, 1024x436, FSA, 4 threads.

With 1 thread it runs ok, need to look into this further but no time now so reverting.

9 years agoCompile fix.
Thomas Dinges [Wed, 19 May 2010 11:29:36 +0000 (11:29 +0000)]
Compile fix.

9 years agoprevious commit undid DingTo's re-arrangement.
Campbell Barton [Wed, 19 May 2010 11:23:50 +0000 (11:23 +0000)]
previous commit undid DingTo's re-arrangement.

9 years agoLogic UI and Operators: adjusts on Layout + copy properties operator + fix on copy...
Dalai Felinto [Wed, 19 May 2010 09:40:45 +0000 (09:40 +0000)]
Logic UI and Operators: adjusts on Layout + copy properties operator + fix on copy logic bricks operator (and moved to OBJECT_OT)

* adjusts on Layout:
 - in order to avoid much changes when copying Logics, it's nice to have the logic s/c/a always displaying even though it's not valid (e.g. edit mesh used from a camera object).
Now a message shows in the s/c/a alerting to the problem.

* logic operators under OBJECT_OT - copy properties and logics

Matt, is it possible to have the object game properties listed as a submenu from "Copy Properties" ?
So from the "Copy Game Property" menu we would have three options:
"Copy a property" -> (submenu) prop1, prop2, prop3
"Replace all Properties"
"Merge all Properties"

For the current task list in Logic Editor:
http://www.pasteall.org/13245

9 years agoAnimViz UI Tweak - Made Motion Paths and Onion Skinning UI's more consistent in terms...
Joshua Leung [Wed, 19 May 2010 09:22:24 +0000 (09:22 +0000)]
AnimViz UI Tweak - Made Motion Paths and Onion Skinning UI's more consistent in terms of how they deal with the current 'mode'

9 years agofix for possible un-initialized variable
Campbell Barton [Wed, 19 May 2010 08:44:38 +0000 (08:44 +0000)]
fix for possible un-initialized variable

9 years agorender_ -> use_ prefix, copied from render branch.
Campbell Barton [Wed, 19 May 2010 08:26:33 +0000 (08:26 +0000)]
render_ -> use_ prefix, copied from render branch.

9 years agoremove function to check for correct rv3d->perps, could crash in some cases and blend...
Campbell Barton [Wed, 19 May 2010 06:07:05 +0000 (06:07 +0000)]
remove function to check for correct rv3d->perps, could crash in some cases and blender checks that its correct in the view3d code.

9 years agorna property RegionView3d.perspective - ORTHO/PERSP/CAMERA
Campbell Barton [Tue, 18 May 2010 21:01:22 +0000 (21:01 +0000)]
rna property RegionView3d.perspective - ORTHO/PERSP/CAMERA

useful for setting the camera view from python

9 years agofix for opengl render when called from python
Campbell Barton [Tue, 18 May 2010 17:19:02 +0000 (17:19 +0000)]
fix for opengl render when called from python

9 years agotemp workaround for report/print conflict causing loaded libs to print twice in some...
Campbell Barton [Tue, 18 May 2010 16:58:28 +0000 (16:58 +0000)]
temp workaround for report/print conflict causing loaded libs to print twice in some cases.

9 years agobpy.app.background - so a python script can check if blender is running without a UI
Campbell Barton [Tue, 18 May 2010 15:57:51 +0000 (15:57 +0000)]
bpy.app.background - so a python script can check if blender is running without a UI

9 years agodont use a thread for baking in background mode, its not really any advantage since...
Campbell Barton [Tue, 18 May 2010 14:38:25 +0000 (14:38 +0000)]
dont use a thread for baking in background mode, its not really any advantage since it starts a single thread that runs a loop.

9 years agomake pack all not back library data, dont attempt to pack image viewers or generated...
Campbell Barton [Tue, 18 May 2010 13:18:37 +0000 (13:18 +0000)]
make pack all not back library data, dont attempt to pack image viewers or generated images.

9 years agotext utility functions.
Campbell Barton [Tue, 18 May 2010 09:07:58 +0000 (09:07 +0000)]
text utility functions.
 - st = text.as_string()
 - text.from_string(st)

9 years agofix for crash baking in background mode.
Campbell Barton [Tue, 18 May 2010 08:10:05 +0000 (08:10 +0000)]
fix for crash baking in background mode.

9 years agoFix [#22303] bpy.ops.image.reload(); texture-button is always inactive
Matt Ebb [Tue, 18 May 2010 07:59:40 +0000 (07:59 +0000)]
Fix [#22303] bpy.ops.image.reload(); texture-button is always inactive

9 years agocontext.PointCache --> context.point_cache (not to confuse type with property name)
Campbell Barton [Tue, 18 May 2010 07:39:07 +0000 (07:39 +0000)]
context.PointCache --> context.point_cache (not to confuse type with property name)

9 years agoFix [#22304] Tiff 16bit gives darker images
Matt Ebb [Tue, 18 May 2010 07:28:44 +0000 (07:28 +0000)]
Fix [#22304] Tiff 16bit gives darker images

Also fixed similar issue for jpeg2000

9 years agoFix : Preview render wasn't updating when switching pinned materials (and other types)
Matt Ebb [Tue, 18 May 2010 05:40:30 +0000 (05:40 +0000)]
Fix : Preview render wasn't updating when switching pinned materials (and other types)

9 years agoFix [#22345] ReleaseRenderOpt 2.5 Problem with rendering displacement map
Matt Ebb [Tue, 18 May 2010 03:10:47 +0000 (03:10 +0000)]
Fix [#22345]  ReleaseRenderOpt 2.5 Problem with rendering displacement map

Communicate the existing material displacement feature's strange dependence on both
'normal' and 'displacement' influences better. This will do until the improved displacement
is merged from render branch.

9 years agoinclude game engine docs in sphinx doc generation:
Campbell Barton [Mon, 17 May 2010 20:38:54 +0000 (20:38 +0000)]
include game engine docs in sphinx doc generation:
 bge.events, logic, render & types (others still need work)

Updated http://www.blender.org/documentation/250PythonDoc

9 years agoepydoc to sphinx markup for GameLogic module
Campbell Barton [Mon, 17 May 2010 19:52:25 +0000 (19:52 +0000)]
epydoc to sphinx markup for GameLogic module

9 years agono functional changes, simplify some exr api code.
Campbell Barton [Mon, 17 May 2010 16:42:53 +0000 (16:42 +0000)]
no functional changes, simplify some exr api code.

9 years agoadd back codecs UI for exr (from previous patch)
Campbell Barton [Mon, 17 May 2010 16:38:20 +0000 (16:38 +0000)]
add back codecs UI for exr (from previous patch)

9 years ago[#21385] Multilayer OpenEXR files import into other compositors upside down
Campbell Barton [Mon, 17 May 2010 15:54:57 +0000 (15:54 +0000)]
[#21385] Multilayer OpenEXR files import into other compositors upside down
famous upside down EXR bugfix from Xavier Thomas

- Files from blender 2.4x will be flipped on load.
- New files will be saved correctly

tracker has detailed info for further reference.

9 years ago* Screw Modifier was not alphabetical correct in the list.
Thomas Dinges [Mon, 17 May 2010 14:56:00 +0000 (14:56 +0000)]
* Screw Modifier was not alphabetical correct in the list.

9 years agoImage Formats RNA:
Thomas Dinges [Mon, 17 May 2010 14:47:46 +0000 (14:47 +0000)]
Image Formats RNA:
* Removed references for R_MOVIE and R_HAMX. (these formats have been removed in the Imbuf cleanup.)

* Alphabetical order of Image Formats.

9 years agoDecimate Modifier UI:
Thomas Dinges [Mon, 17 May 2010 13:48:09 +0000 (13:48 +0000)]
Decimate Modifier UI:
* Changed Face Count button to a label.

9 years agoblf docstring fix from Moguri
Campbell Barton [Mon, 17 May 2010 07:33:37 +0000 (07:33 +0000)]
blf docstring fix from Moguri

9 years agoDrivers Bugfix:
Joshua Leung [Mon, 17 May 2010 04:22:41 +0000 (04:22 +0000)]
Drivers Bugfix:

Renaming bones now correctly fixes drivers referencing those bones. This includes driver paths and driver variables.

9 years agoconvert GameKeys epydoc into sphinx markup
Campbell Barton [Sun, 16 May 2010 23:25:05 +0000 (23:25 +0000)]
convert GameKeys epydoc into sphinx markup

9 years agoconvert Rasterizer module to sphinx
Campbell Barton [Sun, 16 May 2010 23:13:30 +0000 (23:13 +0000)]
convert Rasterizer module to sphinx

9 years agoconvert GameTypes from epydoc into sphinx compatible markup, also removed deprecated...
Campbell Barton [Sun, 16 May 2010 22:57:22 +0000 (22:57 +0000)]
convert GameTypes from epydoc into sphinx compatible markup, also removed deprecated functions

9 years agoFix for compilation with newer ffmpeg library
Sergey Sharybin [Sun, 16 May 2010 19:41:49 +0000 (19:41 +0000)]
Fix for compilation with newer ffmpeg library

Error was cased by undefined UINT64_C in stdint.h for c++
programs. As I understand from ffmpeg mailing list the simpliest
solution is to define __STDC_CONSTANT_MACROS before including
ffmpeg libraries. There already was some amout of such definitions in
the code and I've tested this with newer and older ffmpeg
libraries -- this should work and should be safe, but maybe
there is better way of fixing this problem.

9 years ago[#22114] Manipulator Transform Orientation not respected
Martin Poirier [Sun, 16 May 2010 17:01:05 +0000 (17:01 +0000)]
[#22114] Manipulator Transform Orientation not respected

Potential fix (the error would explain the gimbal case, not the normal case. Also, it doesn't explain why it worked from time to time on other platforms).

9 years agoLogic UI: copy logic operator (old Ctrl+C) + add logics (shift+a)
Dalai Felinto [Sun, 16 May 2010 16:28:50 +0000 (16:28 +0000)]
Logic UI: copy logic operator (old Ctrl+C) + add logics (shift+a)

According to Matt the RMB->Copy to selected wouldn't work for logics because the copy we need is for the whole logic (s/c/a). So (at least for the time been), copy logic is possible again.
It work as 2.49 (replacing the existent logic).

Add Logics is a python menu to give quick access to add logics. I have to see how to put that in Add Menu. I should be easy, but I'll leave it for later.

9 years agoclear some pep8 warnings
Campbell Barton [Sun, 16 May 2010 12:15:04 +0000 (12:15 +0000)]
clear some pep8 warnings

9 years agoRemoved obsolete comment for previous commit
Joshua Leung [Sun, 16 May 2010 11:43:48 +0000 (11:43 +0000)]
Removed obsolete comment for previous commit

9 years agoKeying Sets Bugfix:
Joshua Leung [Sun, 16 May 2010 11:42:54 +0000 (11:42 +0000)]
Keying Sets Bugfix:

Editing the settings of the active (absolute only) Keying Sets is now possible again.

9 years agoProperties Window:
Thomas Dinges [Sun, 16 May 2010 10:21:00 +0000 (10:21 +0000)]
Properties Window:
*The narrowui value was hard coded in all ui scripts, made an user preferences option. Basically this value determines on which area width, it should switch between dual/single column layout.

ToDo: The Changes only take effect when reloading scripts/restarting Blender (after saving as default). Will maybe add the "Reload Scripts" operator next to the button in the future.

* Small fix for Fluid Add Button, when in single column mode. Didn't expand like the other "Add" Buttons.

9 years agono functional changes
Campbell Barton [Sun, 16 May 2010 10:09:07 +0000 (10:09 +0000)]
no functional changes
- add PySequenceMethods members (all NULL)
- spaces -> tabs
- cmake syntax warning from recent ghost commit

9 years agoSome Renaming:
Thomas Dinges [Sun, 16 May 2010 08:36:29 +0000 (08:36 +0000)]
Some Renaming:
Render:
*antialiasing > render_antialiasing
Mist:
*enabled > use_mist
Stars:
*enabled > use_stars

9 years agobugfix [#22325] bpy.ops.import is invalid name
Campbell Barton [Sun, 16 May 2010 08:30:40 +0000 (08:30 +0000)]
bugfix [#22325] bpy.ops.import is invalid name

9 years agopatch from Dan Eicher
Campbell Barton [Sat, 15 May 2010 13:30:14 +0000 (13:30 +0000)]
patch from Dan Eicher
- pose markers new/remove
- font load/remove
- world load/remove
- particles new/remove

commented out node-tree for now since from what I can tell these have to be atteched to material/scene/texture (unlike other ID types)

9 years agomade cmake ghost file less confusing (was globbing then removing files for each system).
Campbell Barton [Sat, 15 May 2010 12:16:19 +0000 (12:16 +0000)]
made cmake ghost file less confusing (was globbing then removing files for each system).

9 years agoFIX: Enter didn't work in filebrowser when mouse inside icon or preview
Andrea Weikert [Sat, 15 May 2010 11:52:59 +0000 (11:52 +0000)]
FIX: Enter didn't work in filebrowser when mouse inside icon or preview

Note: This is yet another problem that results from the fact that the icon/preview in file browser is now a button rather than just drawn as an image. (Similar to LEFMOUSE not working in filebrowser). This should be checked on as the fix might cause issues in the future when using image drag buttons in other parts of Blender.

9 years agoMake creating and saving previews for Lamp, World, Texture, Material and Image databl...
Andrea Weikert [Sat, 15 May 2010 10:37:21 +0000 (10:37 +0000)]
Make creating and saving previews for Lamp, World, Texture, Material and Image datablocks consistent.
- For now the larger previews are created at the same time the small preview icons are created
- This brings back the previews when appending/linking

9 years agoTweak to previous commit - the corrections shouldn't be done for translations, since...
Joshua Leung [Sat, 15 May 2010 03:55:34 +0000 (03:55 +0000)]
Tweak to previous commit - the corrections shouldn't be done for translations, since that causes too many problems.

9 years agoDurian request: Attempted fix for rotations not taking non-uniform scaling of Graph...
Joshua Leung [Sat, 15 May 2010 02:40:44 +0000 (02:40 +0000)]
Durian request: Attempted fix for rotations not taking non-uniform scaling of Graph Editor views into account.

With this fix, handles do not appear to rotate as violently as before, though this correction may still be too subtle to be noticed by many users.

9 years agoLogic UI: setting all State temporarly to 1 when clicking in ALL (so it's more inform...
Dalai Felinto [Fri, 14 May 2010 23:09:55 +0000 (23:09 +0000)]
Logic UI: setting all State temporarly to 1 when clicking in ALL (so it's more informative I think)

9 years agopatch from Dan Eicher
Campbell Barton [Fri, 14 May 2010 21:16:37 +0000 (21:16 +0000)]
patch from Dan Eicher
rna add/remove functions for lattices, brushes and metaballs

9 years agofix for hair distrobution changing when rendered with a different number of threads...
Campbell Barton [Fri, 14 May 2010 18:09:59 +0000 (18:09 +0000)]
fix for hair distrobution changing when rendered with a different number of threads (manifested flickering hair back from renderfarm)

9 years agonoticed thread count was wrong in help message.
Campbell Barton [Fri, 14 May 2010 14:53:00 +0000 (14:53 +0000)]
noticed thread count was wrong in help message.

9 years ago== filebrowser ==
Andrea Weikert [Fri, 14 May 2010 10:50:43 +0000 (10:50 +0000)]
== filebrowser ==
* small update for thumbnails, now the thumbnail thread only runs when the filebrowser is in thumbnail view. (Thread was still running previously, even if it did nothing)
* this allows workaround for slower network drives, so the user can prevent thumbnail generation when not displaying them.

9 years agoLogic UI: add name option for add operators + ALL button in controller states is...
Dalai Felinto [Fri, 14 May 2010 10:45:50 +0000 (10:45 +0000)]
Logic UI: add name option for add operators + ALL button in controller states is working now + fix for actuator STATES filtering option.

Extra comments related bugs:
1)"actuators_show_active_states" doesn't seem to produce any effect (maybe because PIN is not implemented yet? therefore it's always on?

2)If you set the name to be bigger than 32 it will crashes blender (somehow for s/c/a the get function instead of using the defined 32 maxlen it's using 160 (from UserPrerencesFilePaths_python_scriptsdirectory_get ),

3)properties currently can have the same name as s/c/a and they shouldn't.

4)we need an option to show and/or set the STATE of a given controller (in 2.49 it's the number by the controller name)

9 years agoFixes for crashes when trying to add/remove properties from builtin Keying Sets,...
Joshua Leung [Fri, 14 May 2010 10:28:29 +0000 (10:28 +0000)]
Fixes for crashes when trying to add/remove properties from builtin Keying Sets, which shouldn't be editable in this way.

9 years agoSphinx theme from Alex Sytnik (smerch) for API Docs
Campbell Barton [Fri, 14 May 2010 10:21:57 +0000 (10:21 +0000)]
Sphinx theme from Alex Sytnik (smerch) for API Docs
You wouldnt know its not blender.org :D

http://www.blender.org/documentation/250PythonDoc/mathutils.html

from revision 39 of https://svn.blender.org/svnroot/blend-doc/trunk/python/doc

9 years agoMakefiles: fixed opencollada include path
Stefan Gartner [Fri, 14 May 2010 08:16:45 +0000 (08:16 +0000)]
Makefiles: fixed opencollada include path

9 years agoDisable thumbnail generation when the thumbnail view is not enabled,
Campbell Barton [Fri, 14 May 2010 07:21:29 +0000 (07:21 +0000)]
Disable thumbnail generation when the thumbnail view is not enabled,
was slowing down browsing on NFS.

9 years agoFix [#22337] Wrong operator descriptions
Matt Ebb [Fri, 14 May 2010 07:20:16 +0000 (07:20 +0000)]
Fix [#22337] Wrong operator descriptions

9 years agoFix:
Matt Ebb [Fri, 14 May 2010 07:09:15 +0000 (07:09 +0000)]
Fix:
[#22310] Duplicate Does Not Propogate SimpleDeform's VGroup
[#22321] duplicating object with smoke settings doesnt duplicate smoke settings

^ Genscher, you may want to check that but I thought it was pretty straightforward.

9 years agoFix #22137: Shrink wrap modifer with curves, projection bug
Sergey Sharybin [Thu, 13 May 2010 19:23:52 +0000 (19:23 +0000)]
Fix #22137: Shrink wrap modifer with curves, projection bug

Always pack DispList into one block for deformation modifiers and
create DerivedMesh for all curve objects passed to get_dm. This would
fix problems with modifiers when they're creating dm for
additional information (as it's made in shrinkwrap for normals).

Small additional code cleanup in curve_calc_modifiers_post().

9 years agouse ID_REAL_USERS macro
Campbell Barton [Thu, 13 May 2010 09:22:05 +0000 (09:22 +0000)]
use ID_REAL_USERS macro

9 years agoBugfix #22319: Cannot convert ShapeKeys into NLA strips
Joshua Leung [Thu, 13 May 2010 09:14:58 +0000 (09:14 +0000)]
Bugfix #22319: Cannot convert ShapeKeys into NLA strips

Typo for which ID-block got passed for shapekeys...

9 years agorestrict render_clear was operating on hidden objects, now work on selection
Campbell Barton [Thu, 13 May 2010 07:53:06 +0000 (07:53 +0000)]
restrict render_clear was operating on hidden objects, now work on selection

9 years agoTweak to text editor context menu
Matt Ebb [Thu, 13 May 2010 01:46:48 +0000 (01:46 +0000)]
Tweak to text editor context menu

9 years agoremove use of global 'G'
Campbell Barton [Wed, 12 May 2010 22:47:37 +0000 (22:47 +0000)]
remove use of global 'G'

9 years agoBring back the pupmenu for "select object in the same group"
Diego Borghetti [Wed, 12 May 2010 22:29:32 +0000 (22:29 +0000)]
Bring back the pupmenu for "select object in the same group"
when the object have more that one group.

I put a XXX because the selection function use G.main to
get the group, probably we need a CTX_DATA_BEGIN for
groups ? Brecht ? Campbell ?

I make a new operator for the pupmenu, it's only for the
selection menu, so don't have any key binding.

Matt, can you check ?

9 years agoNode Space: tweak the zoom in/out value.
Diego Borghetti [Wed, 12 May 2010 18:51:36 +0000 (18:51 +0000)]
Node Space: tweak the zoom in/out value.

Venomgfx request to allow more zoom in/out value.
Also put the code to path old files, so in the next
subversion bump we need move the code.

9 years agoComposite Node bug: the CTRL+SHIFT+Click to make a node connect to
Ton Roosendaal [Wed, 12 May 2010 17:27:25 +0000 (17:27 +0000)]
Composite Node bug: the CTRL+SHIFT+Click to make a node connect to
viewer didn't take hidden sockets in account.

9 years agoSmall change to Node Space and two new function.
Diego Borghetti [Wed, 12 May 2010 13:55:09 +0000 (13:55 +0000)]
Small change to Node Space and two new function.

"Select all of the same type" now is binding to Shift + GKEY

Two new function, select next and prev node of the same type.

Select a node and press Shift + [ or Shift + ] go to the
previous and next node of the same type (of the active node).

9 years agoNode Space: Small feature for Venomgfx, Shift + F select node of the same type
Diego Borghetti [Wed, 12 May 2010 12:03:38 +0000 (12:03 +0000)]
Node Space: Small feature for Venomgfx, Shift + F select node of the same type

This is a small request from Venomgfx, select a node
and then press Shift + F to select all the nodes of the
same type (of the active node).

The key binding can be change, we thing in a "Find Next" (that is
way the FKEY) with venomgfx, but no problem with change that.

Also I add the entry in the select menu.

9 years agoLogic UI: Controller header, moving the text to the left
Dalai Felinto [Wed, 12 May 2010 08:53:44 +0000 (08:53 +0000)]
Logic UI: Controller header, moving the text to the left

9 years agoLogic UI: Controller State
Dalai Felinto [Wed, 12 May 2010 08:34:15 +0000 (08:34 +0000)]
Logic UI: Controller State
http://www.pasteall.org/pic/show.php?id=3255

New design, with an option to hide/unhide it.

Matt:
1) the way I managed to have the I selected is kind of nasty :) but I think it will have to wait for proper icons.

2) the ALL is so far only working visually, It's still have to change the code to make all sensors and actuators visible when ALL is on. I think this is better than actually marking all states as before (2.49). Maybe it's even nicer nice to have not only have the states disactivated (in gray as they are now), but also to show them as temporary marked. Is that interesting/possible?

3) Can't centralize it :(

4) I think you are right, the icons are nice, but uninformative ... for someone else curious:
http://www.pasteall.org/pic/show.php?id=3254

9 years agoAdd a little RMB context menu to text editor
Matt Ebb [Wed, 12 May 2010 08:03:36 +0000 (08:03 +0000)]
Add a little RMB context menu to text editor

9 years agoAnother one for drag and drop:
Matt Ebb [Wed, 12 May 2010 04:25:33 +0000 (04:25 +0000)]
Another one for drag and drop:
Allow dropping image files from outside blender, or image datablocks from inside blender
to the compositing node editor, to add an image node.

Also small tweak: Only set 'path' properties on drops, if the drag->path isn't empty.

9 years agofix for hanging while drawing fcurves, the function made some attempt to avoid the...
Campbell Barton [Tue, 11 May 2010 21:46:20 +0000 (21:46 +0000)]
fix for hanging while drawing fcurves, the function made some attempt to avoid the problem but when the view is zero pixels wide it still hung for some time.

9 years agodrawing volume had a buffer overrun in some cases
Campbell Barton [Tue, 11 May 2010 20:38:01 +0000 (20:38 +0000)]
drawing volume had a buffer overrun in some cases

9 years agomerge of last commit to trunk
Joseph Eagar [Tue, 11 May 2010 20:06:20 +0000 (20:06 +0000)]
merge of last commit to trunk

9 years agofix for crash reading pointcache, was reading over the buffer size, use lzo1x_decompr...
Campbell Barton [Tue, 11 May 2010 19:37:17 +0000 (19:37 +0000)]
fix for crash reading pointcache, was reading over the buffer size, use lzo1x_decompress_safe rather then lzo1x_decompress

9 years agoDropbox refinement in 3d window: the "drop image" dropbox checks for
Ton Roosendaal [Tue, 11 May 2010 14:25:48 +0000 (14:25 +0000)]
Dropbox refinement in 3d window: the "drop image" dropbox checks for
object under mouse cursor. If not, another dropbox operation can be used.

9 years ago bpy.utils.blend_paths(absolute=False) (was Blender.GetPaths in 2.4x)
Campbell Barton [Tue, 11 May 2010 07:08:32 +0000 (07:08 +0000)]
 bpy.utils.blend_paths(absolute=False)  (was Blender.GetPaths in 2.4x)

9 years agoLogic UI: using the RNA interface as default - commit pre-subversion bumping (i.e...
Dalai Felinto [Tue, 11 May 2010 06:56:59 +0000 (06:56 +0000)]
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.

9 years agoutility functions
Campbell Barton [Mon, 10 May 2010 20:41:01 +0000 (20:41 +0000)]
utility functions
 bpy.utils.smpte_from_seconds(time)
 bpy.utils.smpte_from_frame(frame)