Commit Graph

20511 Commits

Author SHA1 Message Date
Campbell Barton
ff9bd252e8 rna property RegionView3d.perspective - ORTHO/PERSP/CAMERA
useful for setting the camera view from python
2010-05-18 21:01:22 +00:00
Campbell Barton
8ca3de6d63 fix for opengl render when called from python 2010-05-18 17:19:02 +00:00
Campbell Barton
9bf6ce5960 temp workaround for report/print conflict causing loaded libs to print twice in some cases. 2010-05-18 16:58:28 +00:00
Campbell Barton
25e740f29d bpy.app.background - so a python script can check if blender is running without a UI 2010-05-18 15:57:51 +00:00
Campbell Barton
88743740b8 dont use a thread for baking in background mode, its not really any advantage since it starts a single thread that runs a loop. 2010-05-18 14:38:25 +00:00
Campbell Barton
a6826584ef make pack all not back library data, dont attempt to pack image viewers or generated images. 2010-05-18 13:18:37 +00:00
Campbell Barton
496be8244e fix for crash baking in background mode. 2010-05-18 08:10:05 +00:00
Matt Ebb
9862d29a9b Fix [#22303] bpy.ops.image.reload(); texture-button is always inactive 2010-05-18 07:59:40 +00:00
Campbell Barton
0a9d914ad7 context.PointCache --> context.point_cache (not to confuse type with property name) 2010-05-18 07:39:07 +00:00
Matt Ebb
e3587f9e9f Fix [#22304] Tiff 16bit gives darker images
Also fixed similar issue for jpeg2000
2010-05-18 07:28:44 +00:00
Matt Ebb
cf4f5c4497 Fix : Preview render wasn't updating when switching pinned materials (and other types) 2010-05-18 05:40:30 +00:00
Campbell Barton
45444ceee3 include game engine docs in sphinx doc generation:
bge.events, logic, render & types (others still need work)

Updated http://www.blender.org/documentation/250PythonDoc
2010-05-17 20:38:54 +00:00
Campbell Barton
3a12668e92 epydoc to sphinx markup for GameLogic module 2010-05-17 19:52:25 +00:00
Campbell Barton
9c3c7f970f no functional changes, simplify some exr api code. 2010-05-17 16:42:53 +00:00
Campbell Barton
d5f74baa17 [#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.
2010-05-17 15:54:57 +00:00
Thomas Dinges
443d269ca2 * Screw Modifier was not alphabetical correct in the list. 2010-05-17 14:56:00 +00:00
Thomas Dinges
86f11345c4 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.
2010-05-17 14:47:46 +00:00
Campbell Barton
dbb914becc blf docstring fix from Moguri 2010-05-17 07:33:37 +00:00
Joshua Leung
dc0edfd665 Drivers Bugfix:
Renaming bones now correctly fixes drivers referencing those bones. This includes driver paths and driver variables.
2010-05-17 04:22:41 +00:00
Campbell Barton
882ae4ea8f convert GameKeys epydoc into sphinx markup 2010-05-16 23:25:05 +00:00
Campbell Barton
d8eace82d1 convert Rasterizer module to sphinx 2010-05-16 23:13:30 +00:00
Campbell Barton
9df8552ce3 convert GameTypes from epydoc into sphinx compatible markup, also removed deprecated functions 2010-05-16 22:57:22 +00:00
Martin Poirier
b65cc25be3 [#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).
2010-05-16 17:01:05 +00:00
Dalai Felinto
ce6e6112eb 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.
2010-05-16 16:28:50 +00:00
Joshua Leung
5cd2e563d1 Keying Sets Bugfix:
Editing the settings of the active (absolute only) Keying Sets is now possible again.
2010-05-16 11:42:54 +00:00
Thomas Dinges
e1bf9d30bc 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.
2010-05-16 10:21:00 +00:00
Campbell Barton
c2ffcb8497 no functional changes
- add PySequenceMethods members (all NULL)
- spaces -> tabs
- cmake syntax warning from recent ghost commit
2010-05-16 10:09:07 +00:00
Thomas Dinges
91a6fb4b5c Some Renaming:
Render:
*antialiasing > render_antialiasing
Mist:
*enabled > use_mist
Stars:
*enabled > use_stars
2010-05-16 08:36:29 +00:00
Campbell Barton
b9662fc637 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)
2010-05-15 13:30:14 +00:00
Andrea Weikert
95366b3fbb 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.
2010-05-15 11:52:59 +00:00
Andrea Weikert
3db490d20f 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
2010-05-15 10:37:21 +00:00
Joshua Leung
21bc4114df Tweak to previous commit - the corrections shouldn't be done for translations, since that causes too many problems. 2010-05-15 03:55:34 +00:00
Joshua Leung
ef840868a3 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.
2010-05-15 02:40:44 +00:00
Dalai Felinto
6d7a586697 Logic UI: setting all State temporarly to 1 when clicking in ALL (so it's more informative I think) 2010-05-14 23:09:55 +00:00
Campbell Barton
cd6332ca1e patch from Dan Eicher
rna add/remove functions for lattices, brushes and metaballs
2010-05-14 21:16:37 +00:00
Campbell Barton
0790df09b7 fix for hair distrobution changing when rendered with a different number of threads (manifested flickering hair back from renderfarm) 2010-05-14 18:09:59 +00:00
Campbell Barton
9fd9ea135b noticed thread count was wrong in help message. 2010-05-14 14:53:00 +00:00
Andrea Weikert
5b4f264bad == 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.
2010-05-14 10:50:43 +00:00
Dalai Felinto
8b4b68becb 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)
2010-05-14 10:45:50 +00:00
Joshua Leung
56808c6d75 Fixes for crashes when trying to add/remove properties from builtin Keying Sets, which shouldn't be editable in this way. 2010-05-14 10:28:29 +00:00
Campbell Barton
c598d90899 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
2010-05-14 10:21:57 +00:00
Stefan Gartner
03f983da85 Makefiles: fixed opencollada include path 2010-05-14 08:16:45 +00:00
Campbell Barton
02b8d3ca0f Disable thumbnail generation when the thumbnail view is not enabled,
was slowing down browsing on NFS.
2010-05-14 07:21:29 +00:00
Matt Ebb
0524fc1df6 Fix [#22337] Wrong operator descriptions 2010-05-14 07:20:16 +00:00
Matt Ebb
2798852903 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.
2010-05-14 07:09:15 +00:00
Sergey Sharybin
d885635216 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().
2010-05-13 19:23:52 +00:00
Campbell Barton
dffa42e636 use ID_REAL_USERS macro 2010-05-13 09:22:05 +00:00
Joshua Leung
761f240a26 Bugfix #22319: Cannot convert ShapeKeys into NLA strips
Typo for which ID-block got passed for shapekeys...
2010-05-13 09:14:58 +00:00
Campbell Barton
4f77bea8f6 restrict render_clear was operating on hidden objects, now work on selection 2010-05-13 07:53:06 +00:00
Campbell Barton
db0733eb12 remove use of global 'G' 2010-05-12 22:47:37 +00:00