Commit Graph

20527 Commits

Author SHA1 Message Date
Joshua Leung
86f71fad8b 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.
2010-05-20 11:04:15 +00:00
Joshua Leung
014b6c0e89 Properly restored shift-up/down arrow as alternative hotkeys for jumping between start/end frames, as mentioned by venomgfx a while ago. 2010-05-20 10:03:26 +00:00
Campbell Barton
4d708a6aa9 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.
2010-05-20 09:17:49 +00:00
Campbell Barton
9d62acea67 some rna numbers were signed when they shouldnt be (simplify could have its subdivisions set negative) 2010-05-20 08:51:03 +00:00
Joshua Leung
37ecf15f3f 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...
2010-05-20 05:18:27 +00:00
Campbell Barton
96f529880f FCurve.evaluate() and bounds() patch from Dan Eicher 2010-05-20 04:44:10 +00:00
Campbell Barton
fcf4fcfbfc access to 3d viewport location, distance and rotation.
- rotation must stay normalized (not enforced since it could break calculations)
- view_location is flipped internally.
2010-05-19 21:10:46 +00:00
Campbell Barton
c877d2358d possible un-initialized value 2010-05-19 17:06:36 +00:00
Campbell Barton
7f575ddf89 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.
2010-05-19 16:23:09 +00:00
Thomas Dinges
67a8b3d3e5 Compile fix. 2010-05-19 11:29:36 +00:00
Campbell Barton
7c866037a0 previous commit undid DingTo's re-arrangement. 2010-05-19 11:23:50 +00:00
Dalai Felinto
a7a9862cc9 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
2010-05-19 09:40:45 +00:00
Joshua Leung
2d343d0774 AnimViz UI Tweak - Made Motion Paths and Onion Skinning UI's more consistent in terms of how they deal with the current 'mode' 2010-05-19 09:22:24 +00:00
Campbell Barton
9a1d586cf9 fix for possible un-initialized variable 2010-05-19 08:44:38 +00:00
Campbell Barton
b7a7859eb0 render_ -> use_ prefix, copied from render branch. 2010-05-19 08:26:33 +00:00
Campbell Barton
a6b5cebc6c remove function to check for correct rv3d->perps, could crash in some cases and blender checks that its correct in the view3d code. 2010-05-19 06:07:05 +00:00
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