Mitchell Stokes
08a94f9bbd
BGE: When dynamically loading scenes (bge.logic.LibLoad()) in GLSL mode, the lights in the loaded scene would not affect the current scene and vice versa. To fix this, I've updated to merge code to update the scenes that the shaders are using to the scene being merged into.
2010-06-16 19:07:20 +00:00
Diego Borghetti
dd3513e362
Fix Bug #22324
...
Blender crashes when wiring an image input to an image output in the
compositor (not the same image)
The string to keep the full path was usign FILE_MAXDIR, when
has to be both, FILE_MAXDIR + FILE_MAXFILE (240, like FILE_MAX).
2010-06-16 16:42:40 +00:00
Campbell Barton
e748969fd9
request from William, twice as close camera zoom limit
2010-06-16 12:55:49 +00:00
Mitchell Stokes
aeb9c44461
A bad assignment was causing the VideoTexture to set off a breakpoint when being initialized in debug mode. (Benoit gave the go ahead for this fix)
2010-06-16 08:36:18 +00:00
Dalai Felinto
6a70a6bee2
Logic UI: partial implementation of state per controller
...
Adding two rna properties: state and state_number
For scripting "state_number" (integer) makes more sense while "state" (boolean/array) may be needed for the UI.
So far the UI is only showing the state number (using Label). Still have to decide how is the better way to "change the state".
If we don't need "state" (as boolean) for the UI, we can have only the integer one and rename it to "state".
+ some cosmetic changes (renamed ob "states" to "visible states")
ps.: 2 goals == 2 commits... let's see if I can keep that ratio until the middle of July ...
2010-06-16 08:29:40 +00:00
Dalai Felinto
bc8e0c0f93
Partial fix for [ #22574 ] Logic Panel missing buttons (when selecting multiple objects)
...
This commit allows you to see the Logic Bricks for multiple objects at once. It still will only add s/c/a for the active object.
@Matt,
currently "LOGIC_OT_controller_add" uses the active object. That's good for the operator to work in scripts, however for the UI we need something different.
Ideally I would like to pass the object as an (optional) parameter to the operator. Not sure if it's possible.
The solution in 2.49 looks too "2.50 incompatible". In there ob->scaflag is set to be retrieve later by "do_logic_buts". Smart but too hacky imho.
2010-06-16 06:20:56 +00:00
Jens Ole Wund
449569812d
soft body
...
text label correction
2010-06-16 00:42:18 +00:00
Matt Ebb
6058dd6c68
Compositor 'free unused' option wasn't working at all, it was referring to the same property
...
as renderer 'free texture images' flag. Ouch.
2010-06-15 21:51:15 +00:00
Campbell Barton
a648a4699f
scale option was only working for panoramic cameras
2010-06-15 21:46:02 +00:00
Andre Susano Pinto
bb7062abcb
bugfix [ #22581 ]
...
- on instances last hit optimization was jumping to the last hit face
inside an instance without doing space transformation.
Fixed by making last hit optimization jump to the root node of the instance
instead of the last hit face.
2010-06-15 20:00:01 +00:00
Campbell Barton
3e3d2b7a4c
ifdef disable X11 mouse grab, it locks up the system for artists too often (whenever blender locks up).
2010-06-15 17:40:31 +00:00
Campbell Barton
42ab9ed59a
New Scene now has the popup from 2.4x which gives the option to copy.
...
Added some test code for rna_info to create a big list of property+type+descriptions, useful for api name review.
2010-06-15 17:14:21 +00:00
Mitchell Stokes
982cd944a4
Got the okay from Nathan to commit this: It's a small patch for Win32 Ghost that prevents a Blender window from setting the cursor position when it's not the active window.
2010-06-15 17:12:21 +00:00
Campbell Barton
927aac74ab
- module for reading blend start/end frames and scene name (useful for finding the total frame count without loading a blend file)
...
- added render api as unstable to the docs.
2010-06-15 12:06:30 +00:00
Sergey Sharybin
9a5e5033a2
Fix for crash on bpy.ops.curve.vertex_add/bpy.ops.curve.extrude
...
Removed view3d_operator_needs_opengl from addvert_Nurb, which is unneeded here
2010-06-15 09:55:54 +00:00
Jens Ole Wund
7b0bda22e1
soft body
...
disable edge collision for bezier handles
because of massive pointlessness
2010-06-15 09:47:37 +00:00
Luca Bonavita
8d3a5a8b0a
== python api docs ==
...
* source/blender/python/doc/sphinx_doc_gen.py:
changed the "undocumented" message so that it still links to
http://wiki.blender.org/index.php/Dev:2.5/Py/API/Documentation/Contribute
but uses flags in the url to help documenting.
Example: http://www.blender.org/documentation/250PythonDoc/bpy.ops.node.html#bpy.ops.node.link
click on "contribute", the new section has title "bpy.ops.node.link" and a howto message is shown
* source/blender/python/intern/bpy.c:
fixed a typo
2010-06-15 02:06:01 +00:00
Matt Ebb
ab41296461
'Fix' [ #22591 ] Sun Lamp Sky / Atmosphere settings not rendering properly
...
Turbidity values below 2.0 give weird results, made 2.0 the default soft minimum.
2010-06-15 01:28:17 +00:00
Jens Ole Wund
148cca898b
sofbody beziers may work nicer
2010-06-14 23:56:12 +00:00
Campbell Barton
8faa11a9e6
separate loose parts was hanging on hidden verts
2010-06-14 16:58:31 +00:00
Campbell Barton
69cb2cc37b
adding curve and mesh objects through python would create the object without assigning it to any layers.
...
now initialize from the scene (when the value is unset), and throw an error when the value is set to all false.
2010-06-14 15:39:50 +00:00
Campbell Barton
08c4725a13
workaround for crash when notifiers cause a scene update at the same time rendering starts.
...
happens when changing frame and pressing render quickly on a slow scene.
for now ignore animation updates while rendering.
2010-06-14 15:02:16 +00:00
Campbell Barton
a2461a01c9
change to recent commit, insert_keyframe(datapath -> data_path ...)
...
made region width and height unsigned
2010-06-14 12:36:28 +00:00
Campbell Barton
6a0365f59c
- option for redraw timer to playback the animation
...
- py utility property group.users_dupli_group
2010-06-14 10:33:26 +00:00
Matt Ebb
329277bcfe
Update interaction preset for property renaming
2010-06-14 08:47:58 +00:00
Matt Ebb
69a7807790
restored old 'uv orco' for curves, renamed to 'map along length'
2010-06-14 07:43:45 +00:00
Matt Ebb
a775843b11
Use per-object icons in animation editor channel regions
...
makes it a bit easier to distinguish what you're looking for
2010-06-14 07:27:07 +00:00
Matt Ebb
ff56197362
Don't draw nodes that are out of the view
...
speeds up node editor fairly considerably on a complex comp
2010-06-14 07:02:11 +00:00
Campbell Barton
c2f36a4d6a
naming changes
...
path -> filepath (for rna and operators, as agreed on with elubie)
path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-06-14 03:52:10 +00:00
Campbell Barton
aa97b4362b
bugfix [ #22427 ] settings bpy.context.active_object gives wrong message.
2010-06-14 02:05:37 +00:00
Campbell Barton
374d3a6685
bugfix [ #21748 ] KX_Object scaling property not "writing" vector access .:. e.g. obj.scaling[2] = 2.0
...
- made worldspace readonly
- mathutils 'set' callbacks can now set their own error
2010-06-14 01:41:43 +00:00
Campbell Barton
a262847298
remove remaining unused yafray settings.
2010-06-14 01:03:48 +00:00
Campbell Barton
271a553ed5
remove unused yafray lamp settings
2010-06-14 00:24:42 +00:00
Campbell Barton
4ee8d74680
bugfix [ #22573 ] image pack isn't working right
...
own fault with recent commit to stop packing of generated images, now this works as expected.
2010-06-14 00:10:11 +00:00
Campbell Barton
262cfb59d3
solidify rim material option, use the next material slot for rim faces.
...
a bit arbitrary but with most cases where solidify is used in durian we get UV texture stretching since there is no way to access the newly created size faces this gives us a way to switch out the material on the rim.
2010-06-13 13:56:13 +00:00
Michael Fox
e7dd562095
Made Add Surface Operator more atomic, now each primitive has own operator, but calling the same function with different flags.
...
So they can me used in macros, and addons can use the menu now, hope to see some very nice surface plugins
2010-06-13 05:48:21 +00:00
Nicholas Bishop
b26a23786d
Fixed bug ##22580, 'All Edges' display doesn't work unless enter & exit edit mode for mesh
...
* Pass the appropriate mesh flag into dm->drawEdges
* Added the object and draw update notifiers to the RNA property
2010-06-13 02:54:55 +00:00
Campbell Barton
95b9e4171e
use utility functions for vertex groups, no functional changes
2010-06-13 00:11:42 +00:00
Guillermo S. Romero
32ce3e3433
Change couple of strings.
...
Clearly mention SVN version being built and more direct POVRay error.
2010-06-12 23:09:01 +00:00
Campbell Barton
971e4be108
modify my last commit to fix [ #22486 ] add_actuator crashes when name is bigger than 32 chars
...
Throwing an exception if the strings too long means scripts need to be aware of string lengths and changing a string length in RNA can too easily break scripts.
Instead honor the string length in RNA_property_string_set()
2010-06-12 17:30:21 +00:00
Campbell Barton
c3c6fb2de2
bugfix [ #22486 ] add_actuator crashes when name is bigger than 32 chars
...
have pyrna raise an error on strings that are too long.
2010-06-12 15:49:01 +00:00
Campbell Barton
33b624cb5f
[ #22307 ] Camera Fly Mode Rolls Camera on local Z-axis
...
z-roll was enabled by default, also made rotate less sensitive.
2010-06-11 23:25:38 +00:00
Jens Ole Wund
bb0b596711
adding TODO comment
2010-06-11 23:05:43 +00:00
Luca Bonavita
dba99b544b
== python api docs ==
...
* source/gameengine/PyDoc/bge.types.rst:
KX_PolygonMaterial was missing the parent class indication (PyObjectPlus)
* source/blender/python/doc/sphinx_doc_gen.py:
* unified all the "undocumented" descriptions, like
http://www.blender.org/documentation/250PythonDoc/bpy.ops.anim.html#bpy.ops.anim.keyframe_delete_button
so that it will be easy for Alex to CCS 'em and also now people will have a link to contribute descriptions,
see http://wiki.blender.org/index.php/Dev:2.5/Py/API/Documentation/Contribute
* moved the note about bpy_struct not being available in the api
in a proper note directive, so that it's more evident
(I didn't see it at first)
2010-06-11 22:41:13 +00:00
Campbell Barton
66134ea381
patch [ #22570 ] Text editor syntax coloring update
...
from Jacob F (raccoon)
This does two things to the text editor:
1) Adds coloring (same color as numbers) for True and False.
2) Fixes [#22551 ] Syntax coloring offset does not update when using real tabs and changing tab width
2010-06-11 15:35:11 +00:00
Campbell Barton
a0a99e4a4d
[ #22554 ] Register option on Texts doesn't work anymore
...
there were no hints that '.py' extension is needed, added tooltip.
2010-06-11 14:10:02 +00:00
Campbell Barton
e0bada19f9
[ #22496 ] OpenSuse 11.2 The problem with built-Povray
...
give a better error message when povray isnt found.
2010-06-11 13:45:58 +00:00
Sergey Sharybin
d811c284f9
Deny applying location/rotation to 2D curve - such transformation could
...
make points have non-zero local z-coordinates, which is confusing for 2D.
2010-06-11 13:00:24 +00:00
Campbell Barton
eb3220fa83
rna api
...
- ParticleHairKey.location can now be set (object space location).
- Library.parent was set to ID type.
2010-06-11 10:46:47 +00:00
Campbell Barton
4aa2ad003b
game world buttons had old property name for mist toggle
2010-06-11 09:09:57 +00:00