blender.git
9 years agoMerged changes in the trunk up to revision 28685.
Tamito Kajiyama [Sun, 9 May 2010 12:42:19 +0000 (12:42 +0000)]
Merged changes in the trunk up to revision 28685.

9 years agoSome more IPO > F-Curve renaming in RNA.
Thomas Dinges [Sun, 9 May 2010 09:49:55 +0000 (09:49 +0000)]
Some more IPO > F-Curve renaming in RNA.

9 years agoRenaming IPO > F-Curve in the Logic Editor (Layout Engine version)
Thomas Dinges [Sun, 9 May 2010 09:43:49 +0000 (09:43 +0000)]
Renaming IPO > F-Curve in the Logic Editor (Layout Engine version)

9 years ago2.5 Constraint UI:
Thomas Dinges [Sun, 9 May 2010 08:33:18 +0000 (08:33 +0000)]
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.

9 years agomissing arg from docstring
Campbell Barton [Sun, 9 May 2010 00:37:12 +0000 (00:37 +0000)]
missing arg from docstring

9 years agopy/rna: defining new properties now replaces the old onces and raises an error if...
Campbell Barton [Sun, 9 May 2010 00:06:35 +0000 (00:06 +0000)]
py/rna: defining new properties now replaces the old onces and raises an error if they collide with dynamic props.

9 years agofunction to remove property
Campbell Barton [Sat, 8 May 2010 23:34:54 +0000 (23:34 +0000)]
function to remove property
eg:
 bpy.types.Scene.IntProperty(attr="myprop") # adds
 bpy.types.Scene.RemoveProperty(attr="myprop") # removes

9 years agoLogic UI - lookup for properties (matt need your help to finish it)
Dalai Felinto [Sat, 8 May 2010 22:11:00 +0000 (22:11 +0000)]
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.

9 years ago== filebrowser ==
Andrea Weikert [Sat, 8 May 2010 21:02:22 +0000 (21:02 +0000)]
== 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.

9 years ago== MSVC projectfiles ==
Andrea Weikert [Sat, 8 May 2010 20:57:09 +0000 (20:57 +0000)]
== MSVC projectfiles ==
- update for latest ImBuf changes

9 years agorender time wasnt being written to the metadata of images.
Campbell Barton [Sat, 8 May 2010 20:07:29 +0000 (20:07 +0000)]
render time wasnt being written to the metadata of images.

9 years agoLogic UI: add notifiers for sensors and controllers (so the ui updates if you change...
Dalai Felinto [Sat, 8 May 2010 19:52:13 +0000 (19:52 +0000)]
Logic UI: add notifiers for sensors and controllers (so the ui updates if you change the value through script) + some layout adjusments.

9 years agoFixing the makefiles compiling
Joilnen Leite [Sat, 8 May 2010 19:48:28 +0000 (19:48 +0000)]
Fixing the makefiles compiling

9 years agoSequencer crashes with clips that have OpenGl render enabled (rev 28658)
Campbell Barton [Sat, 8 May 2010 19:08:33 +0000 (19:08 +0000)]
Sequencer crashes with clips that have OpenGl render enabled (rev 28658)

 disabling for now, opengl write rendering isnt drivial to solve.

9 years agobugfix [#22281] Edit mode face selection dots gone from textured viewport mode
Campbell Barton [Sat, 8 May 2010 17:54:29 +0000 (17:54 +0000)]
bugfix [#22281] Edit mode face selection dots gone from textured viewport mode
tweaked the logic for drawing face dots

9 years agobugfix [#21085] Sequencer file selector for movies is strange
Campbell Barton [Sat, 8 May 2010 16:36:28 +0000 (16:36 +0000)]
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.

9 years agorevert own commit 28662.
Campbell Barton [Sat, 8 May 2010 15:37:29 +0000 (15:37 +0000)]
revert own commit 28662.
 strnlen is a GNU extension according to http://unixpapa.com/incnote/string.html

9 years agoScons compile fix for SVN 28661.
Thomas Dinges [Sat, 8 May 2010 07:48:37 +0000 (07:48 +0000)]
Scons compile fix for SVN 28661.
* Missing 'blenloader' include.

9 years agoremove BLI_strnlen, use _strnlen as strnlen on windows.
Campbell Barton [Sat, 8 May 2010 07:34:01 +0000 (07:34 +0000)]
remove BLI_strnlen, use _strnlen as strnlen on windows.
cant test on windows but from what I can tell this exists like _vsnprintf

9 years ago- console drop handler for datablocks & filepaths.
Campbell Barton [Sat, 8 May 2010 07:25:26 +0000 (07:25 +0000)]
- console drop handler for datablocks & filepaths.
- added BLO_idcode_to_name_plural() for names like meshes, scenes, libraries etc from and ID type.

9 years agoFix blenderplayer linking issues when building with CMake on unix systems
Damien Plisson [Sat, 8 May 2010 05:56:34 +0000 (05:56 +0000)]
Fix blenderplayer linking issues when building with CMake on unix systems

9 years agoAllow clicking in the empty area of a scrollbar (in the 'groove' outside the scroller...
Matt Ebb [Sat, 8 May 2010 04:32:48 +0000 (04:32 +0000)]
Allow clicking in the empty area of a scrollbar (in the 'groove' outside the scroller itself)
to page up/page down.

9 years agoadjusment to constraint actuator layout (forgot to expose normal and before)
Dalai Felinto [Fri, 7 May 2010 23:56:26 +0000 (23:56 +0000)]
adjusment to constraint actuator layout (forgot to expose normal and before)

9 years agobugfix [#22276] filemanager autocompleate based on current path
Campbell Barton [Fri, 7 May 2010 23:34:03 +0000 (23:34 +0000)]
bugfix [#22276] filemanager autocompleate based on current path
also added autocomp to filename in fileselector

9 years agoSVN maintenance.
Guillermo S. Romero [Fri, 7 May 2010 22:04:48 +0000 (22:04 +0000)]
SVN maintenance.

9 years agoCMake + MSVC building fix (PTHREADS_INC needed in imbuf)
Dalai Felinto [Fri, 7 May 2010 21:35:10 +0000 (21:35 +0000)]
CMake + MSVC building fix (PTHREADS_INC needed in imbuf)
again, I know that the header shouldnt' be included there. But since it's still there at least let's make it build.

9 years agoLogic UI - fixing missing rna default values
Dalai Felinto [Fri, 7 May 2010 18:53:28 +0000 (18:53 +0000)]
Logic UI - fixing missing rna default values
there are some cases (i.e. Constraint Actuator) where the same DNA property is being used by different RNAs with different ranges.
It's easy to change (reset the values to their default in the set func of the constrant type rna).
Not sure it's necessary though.

9 years agoshouldnt have committed this, was local hack to workaround float buffer bug.
Campbell Barton [Fri, 7 May 2010 15:52:16 +0000 (15:52 +0000)]
shouldnt have committed this, was local hack to workaround float buffer bug.

9 years agofix for segfault when reading bad multilayer EXR's
Campbell Barton [Fri, 7 May 2010 15:49:21 +0000 (15:49 +0000)]
fix for segfault when reading bad multilayer EXR's

9 years agoMerge image related changes from the render branch. This includes the image
Brecht Van Lommel [Fri, 7 May 2010 15:18:04 +0000 (15:18 +0000)]
Merge image related changes from the render branch. This includes the image
tile cache code in imbuf, but it is not hooked up to the render engine.

Imbuf module: some small refactoring and removing a lot of unused or old code
(about 6.5k lines).

* Added a ImFileType struct with callbacks to make adding an file format type,
  or making changes to the API easier.
* Move imbuf init/exit code into IMB_init()/IMB_exit() functions.
* Increased mipmap levels from 10 to 20, you run into this limit already with
  a 2k image.
* Removed hamx, amiga, anim5 format support.
* Removed colormap saving, only simple colormap code now for reading tga.
* Removed gen_dynlibtiff.py, editing this is almost as much work as just
  editing the code directly.
* Functions removed that were only used for sequencer plugin API:
  IMB_anim_nextpic, IMB_clever_double, IMB_antialias, IMB_gamwarp,
  IMB_scalefieldImBuf, IMB_scalefastfieldImBuf, IMB_onethird, IMB_halflace,
  IMB_dit0, IMB_dit2, IMB_cspace
* Write metadata info into OpenEXR images. Can be viewed with the command
  line utility 'exrheader'

For the image tile cache code, see this page:
http://wiki.blender.org/index.php/Dev:2.5/Source/Imaging/ImageTileCache

9 years agoMinor formatting tweaks (killing some "caterpillar if's"... yuck those things are...
Joshua Leung [Fri, 7 May 2010 10:59:48 +0000 (10:59 +0000)]
Minor formatting tweaks (killing some "caterpillar if's"... yuck those things are nasty to edit/extend)

9 years agoMultires: fix for "failed to read" error message with external displacements.
Brecht Van Lommel [Fri, 7 May 2010 09:48:40 +0000 (09:48 +0000)]
Multires: fix for "failed to read" error message with external displacements.

9 years agoExr reading error print has a bit more detail now, to debug problems.
Brecht Van Lommel [Fri, 7 May 2010 09:46:54 +0000 (09:46 +0000)]
Exr reading error print has a bit more detail now, to debug problems.

9 years agosaving multires data didnt get the new filename when the external struct was alredy...
Campbell Barton [Fri, 7 May 2010 09:41:26 +0000 (09:41 +0000)]
saving multires data didnt get the new filename when the external struct was alredy allocated (making save external fail)

9 years agoRestrict keyboard sensor stored events to only what's appropriate per property
Matt Ebb [Fri, 7 May 2010 08:10:20 +0000 (08:10 +0000)]
Restrict keyboard sensor stored events to only what's appropriate per property
(normal key, modifier key, etc)

9 years agotoo many args, build error
Campbell Barton [Fri, 7 May 2010 07:57:15 +0000 (07:57 +0000)]
too many args, build error

9 years agoghash alloc string from render branch
Campbell Barton [Fri, 7 May 2010 07:54:25 +0000 (07:54 +0000)]
ghash alloc string from render branch
 svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28571:28573
 svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28575:28576

9 years agoLogic UI: All Sensors, Controllers and Actuators are ported now... (let's the tests...
Dalai Felinto [Fri, 7 May 2010 07:31:39 +0000 (07:31 +0000)]
Logic UI: All Sensors, Controllers and Actuators are ported now... (let's the tests begin)

* get/set funcs
* unifying rna_props for Constraint Actuator
* Collision sensor
* Ray sensor
* State Actuator

* We need icons! at least one for Sensor, one for Controller and one for Actuator

* Layout artists:
Keyboard sensor really need some help :)
The other as well. I mainly copied the layout from 2.49 with some adjustments here and there.

* some get/set functions in rna_actuator.c are exactly the same (e.g. rna_ConstraintActuator_range_get, rna_ConstraintActuator_spring_get) and other could be easily distributed. maybe something for later.

9 years agoFix [#22271] N panel Lock icons not changing when pressed
Matt Ebb [Fri, 7 May 2010 04:52:10 +0000 (04:52 +0000)]
Fix [#22271] N panel Lock icons not changing when pressed

9 years agoWarning cleanup
Matt Ebb [Fri, 7 May 2010 03:44:34 +0000 (03:44 +0000)]
Warning cleanup

While I was looking in outliner.c, made some changes to let extra passes display
there such as environment (commented out before due to a previous limitation).

Also changed outliner object visbility/selectability/renderability toggles to use
RNA buttons so you can insert keyframes with RMB menu etc.

9 years agoLogic UI: small fixes: order of sensor type enum + state actuator showing used states now
Dalai Felinto [Fri, 7 May 2010 02:37:05 +0000 (02:37 +0000)]
Logic UI: small fixes: order of sensor type enum + state actuator showing used states now

9 years agoAdded dynamic enum itemf for add sensor/actuator operators
Matt Ebb [Fri, 7 May 2010 02:01:50 +0000 (02:01 +0000)]
Added dynamic enum itemf for add sensor/actuator operators

9 years agoLogic UI: State Actuator done :) all actuators are there now. [and stubs update]
Dalai Felinto [Fri, 7 May 2010 01:30:12 +0000 (01:30 +0000)]
Logic UI: State Actuator done :) all actuators are there now. [and stubs update]
(it's a small commit, but couldn't help not doing it ;)

9 years agoAdd the option to show also the UVs of other selected objects in image
Toni Alatalo [Thu, 6 May 2010 23:47:25 +0000 (23:47 +0000)]
Add the option to show also the UVs of other selected objects in image
space / uv edit. The code was already there, and the option as a rna
bool, but no ui to set it. Matt figured that the View menu in image
space next to other uv stuff, which only shows when UVs are edited, is
the right place.

Works so that when entering editmode for an object to edit UVs, when
have also other objects selected and this option on, also the UVs of
those other objects are shown in the image view.

Liquidape asked this on IRC, and we thought the feat doesn't exist, so I
looked out of curiosity in the code as was thinking it would be easy to
add. Was surprised to find it there already :)

First time that did anything with 2.5, was sure fun enough to search
thru the code to figure out how things work. Adding this ui thing proved
to be exactly as trivial and nice as it should, and the things under the
hood seemed nice, yay!

9 years agobugfix for own error [#22269] object vector operations (position) not working properl...
Campbell Barton [Thu, 6 May 2010 22:07:03 +0000 (22:07 +0000)]
bugfix for own error [#22269] object vector operations (position) not working properly after rev. 28471
 double checked other get_index callbacks for the same error.

9 years agofix for duplicating cloth which could crash on freeing
Campbell Barton [Thu, 6 May 2010 21:31:16 +0000 (21:31 +0000)]
fix for duplicating cloth which could crash on freeing
- effector list wasnt NULL'd on copying a particle system
- copying an object would initialize the cloth modifier, then copy it, witout freeing its effector weights created in cloth_init().

9 years agokeyframe transform, both through dopesheet/action editor and graph editor, works...
Joseph Eagar [Thu, 6 May 2010 19:54:43 +0000 (19:54 +0000)]
keyframe transform, both through dopesheet/action editor and graph editor, works a bit better with handles.  handles now follow keyframes properly in frame snap mode, in situations where they would move (but the keyframe would not) in undesirable ways before.  also hopefully fixed vector scope crash in image editor.  and disabled snapping to seconds (ever); this can be a seperate option, silently switching to second snapping in frame snapping mode is absolutely evil.  also, the action editor draws in hundredth of seconds, not seconds, so it didn't even work.  Aligorith: I hope this code is ok, if not feel free to rewrite it.

9 years agoLogic UI: constraint actuator+rna 100% (finally !!!) + other fixes/improvements:
Dalai Felinto [Thu, 6 May 2010 19:12:08 +0000 (19:12 +0000)]
Logic UI: constraint actuator+rna 100% (finally !!!) + other fixes/improvements:

- s/c/a type enum update function replaced by set function
- rna_Sensor_type_itemf and rna_Actuators_type_itemf implemented (but not working ... it was working yesterday before I updated the set func, so need further investigation). Matt, if you have any clue on that ...

Roadmap:

i) I definitively gotta unify the maxloc, minloc rna properties.
the way it's right now (based on 2.49 makes the layout code really clunky
ii) - actuator missing - State Actuator (I'll probably need help on that).
iii) - sensor missing - collision and ray (they are partly implemented, but the enums are a mess there).
iv) - get/set funcs missing (not many) and default values (not many)
v) - have more lookup functions for properties and material (I'll definitively need help on that).

Eventually will fix (iii, iv and v) changing bge and dna code and doing a subversion/do_version.

9 years agodont write blender recent file list or save quit.blend when running in background...
Campbell Barton [Thu, 6 May 2010 18:25:56 +0000 (18:25 +0000)]
dont write blender recent file list or save quit.blend when running in background mode.

9 years agoown restrict-render commit broke hide unselected.
Campbell Barton [Thu, 6 May 2010 18:11:01 +0000 (18:11 +0000)]
own restrict-render commit broke hide unselected.

9 years agoMake drop images work from external desktop into Blender image window.
William Reynish [Thu, 6 May 2010 17:45:02 +0000 (17:45 +0000)]
Make drop images work from external desktop into Blender image window.
Still has work todo, like detecting filetype on drop event itself. Ton will continue...

9 years agooption to use the linked path or the local path for pointcache.
Campbell Barton [Thu, 6 May 2010 17:12:44 +0000 (17:12 +0000)]
option to use the linked path or the local path for pointcache.
needed for sintels hair to be baked locally.

9 years agomake save as copy default for renders, so artists saving with F3 dont end up with...
Campbell Barton [Thu, 6 May 2010 16:37:39 +0000 (16:37 +0000)]
make save as copy default for renders, so artists saving with F3 dont end up with many image datablocks pointing to their Desktops

9 years agoPart 1 of making external drop events work. Have to move work to another system,
Ton Roosendaal [Thu, 6 May 2010 16:06:57 +0000 (16:06 +0000)]
Part 1 of making external drop events work. Have to move work to another system,
that's why this first step. :)

9 years agomore checks to last commit
Campbell Barton [Thu, 6 May 2010 14:53:27 +0000 (14:53 +0000)]
more checks to last commit
- dont allow new() to return an existing fcurve.
- dont allow creating fcurves with blank paths.

9 years agorna functions...
Campbell Barton [Thu, 6 May 2010 14:43:21 +0000 (14:43 +0000)]
rna functions...
 fcu = action.fcurves.new(data_path, array_index, group)
 action.fcurves.remove(fcu)

9 years agoLogic UI: actuators - action+rna 100%, sound 100%, constraint+rna 50%
Dalai Felinto [Thu, 6 May 2010 12:01:44 +0000 (12:01 +0000)]
Logic UI: actuators - action+rna 100%, sound 100%, constraint+rna 50%

Notes:
1) I had to pass Context to the draw_actuator_sound in order to access the open_sound_operator
uiTemplateID(layout, C, ptr, "sound", NULL, "SOUND_OT_open", NULL);
According to Campbell they are better ways to do that (mdef bind for reference). but for now it works.

2) for the record: action actuator is equal to shape actuator (but runs in armature)

3) in Constraint Actuator I think I should unify all the limit_loc_max_, loc_min, ... properties. I was thinking about replacing it with a single limit_loc_max, limit_loc_min, range, distance, and use get/set funcs to find the correct one.

9 years agolast commit broke linking to scenes from the UI
Campbell Barton [Thu, 6 May 2010 11:47:10 +0000 (11:47 +0000)]
last commit broke linking to scenes from the UI

9 years agoDatablocks Viewer Bugfix:
Joshua Leung [Thu, 6 May 2010 11:28:46 +0000 (11:28 +0000)]
Datablocks Viewer Bugfix:

Adding Drivers and/or KeyingSet paths from the Datablocks Viewer for array elements was not working.

9 years agopython property - object.scene_users
Campbell Barton [Thu, 6 May 2010 08:30:42 +0000 (08:30 +0000)]
python property - object.scene_users
Also made this and object.group_users return tuples so it raises an error in this case...
  ob.scene_users.append(scene)

9 years agoFix [#22256] bpy.ops.sequencer.delete.poll() not working
Matt Ebb [Thu, 6 May 2010 07:19:55 +0000 (07:19 +0000)]
Fix [#22256] bpy.ops.sequencer.delete.poll() not working

Just about all sequencer operator poll functions were requiring an active
sequence editor space type. This wasn't necessary for most of them, and prevented use
from scripts, console, etc.

9 years agoFix [#22249] Can enter camera view when there is no camera in scene
Matt Ebb [Thu, 6 May 2010 03:49:26 +0000 (03:49 +0000)]
Fix [#22249] Can enter camera view when there is no camera in scene

9 years agoLogic UI: more actuators: armature, motion, edit object (ui) and 2dfilter (layout...
Dalai Felinto [Thu, 6 May 2010 03:26:46 +0000 (03:26 +0000)]
Logic UI: more actuators: armature, motion, edit object (ui) and 2dfilter (layout fix)

9 years agoFix [#22246] Invisible objects on 3D-View (patch included)
Matt Ebb [Thu, 6 May 2010 03:15:14 +0000 (03:15 +0000)]
Fix [#22246] Invisible objects on 3D-View (patch included)

Modified patch by Teppo Känsälä, thanks for finding the issue!

9 years agorna float set function example for dfelinto
Matt Ebb [Thu, 6 May 2010 02:58:36 +0000 (02:58 +0000)]
rna float set function example for dfelinto

9 years agoTweak for dfelinto, logic ui
Matt Ebb [Thu, 6 May 2010 01:38:17 +0000 (01:38 +0000)]
Tweak for dfelinto, logic ui

9 years agoMerged changes in the trunk up to revision 28600.
Tamito Kajiyama [Wed, 5 May 2010 22:57:58 +0000 (22:57 +0000)]
Merged changes in the trunk up to revision 28600.

9 years agoBGE Logic UI: 2dfilter actuator + object (motino) actuator + commenting out buggy...
Dalai Felinto [Wed, 5 May 2010 21:25:34 +0000 (21:25 +0000)]
BGE Logic UI: 2dfilter actuator + object (motino) actuator + commenting out buggy sensors

9 years agoFix for GPU_free_unused_buffers deadlock, solution by Tamito Kajiyama, thanks!
Brecht Van Lommel [Wed, 5 May 2010 17:14:43 +0000 (17:14 +0000)]
Fix for GPU_free_unused_buffers deadlock, solution by Tamito Kajiyama, thanks!

9 years ago- split objet group add/link into 2 operators
Campbell Barton [Wed, 5 May 2010 15:41:38 +0000 (15:41 +0000)]
- split objet group add/link into 2 operators
- link now brings up a search box so when there are 100's of groups its less annoying.
- utility functions for id-enums so only local objects can be displayed in a search list (used for group_link)
- renamed operator properties from typle to scene, group, action etc.

9 years agoFix bug with appending a second time from the same .blend file, it would
Brecht Van Lommel [Wed, 5 May 2010 14:59:22 +0000 (14:59 +0000)]
Fix bug with appending a second time from the same .blend file, it would
get the wrong subversion number and do unnecessary conversions.

9 years ago[#22177] Adding BLF to the BGE and exposing BLF_load as blf.load
Campbell Barton [Wed, 5 May 2010 06:38:49 +0000 (06:38 +0000)]
[#22177] Adding BLF to the BGE and exposing BLF_load as blf.load
from Mitchell Stokes (moguri)

also updated blf docs

9 years ago[#22212] edit problem with translate manipulator
Martin Poirier [Wed, 5 May 2010 02:07:26 +0000 (02:07 +0000)]
[#22212] edit problem with translate manipulator

Missing a matrix normalization (objects scaled in object mode would have the bug).

9 years agoBugfix #22244: Crash on using ops.constraint.childof_set_inverse and childOf_clear_in...
Joshua Leung [Wed, 5 May 2010 00:44:42 +0000 (00:44 +0000)]
Bugfix #22244: Crash on using ops.constraint.childof_set_inverse and childOf_clear_inverse incorrectly

Adding some NULL checks to all the constraint operators. This is not ideal, but at least the crashes are gone now. More work is needed to properly fix this...

9 years agoLogic Editor UI work
Matt Ebb [Wed, 5 May 2010 00:12:31 +0000 (00:12 +0000)]
Logic Editor UI work
* Re-structured code (can delete the old function entirely when this is done)
* Fixed links/inlinks
* Fixed some bugs in add and remove controller/actuator
* Cleaned up some ui layouts
* Use key event types in keyboard sensor
* Implemented object controller 'state' in RNA/layout engine (still needs tweaks)

9 years agoBGE Logic UI: fix for scene actuator
Dalai Felinto [Tue, 4 May 2010 22:05:41 +0000 (22:05 +0000)]
BGE Logic UI: fix for scene actuator

Any volunteer for this?
//XXX to do: an operator that calls file_browse with relative_path on and blender filtering active

9 years agoremove conflicting restrict render key
Campbell Barton [Tue, 4 May 2010 22:01:24 +0000 (22:01 +0000)]
remove conflicting restrict render key

9 years agofix for raytrace crash on scenes with very large objects, assert could fail with...
Campbell Barton [Tue, 4 May 2010 21:56:01 +0000 (21:56 +0000)]
fix for raytrace crash on scenes with very large objects, assert could fail with really large numbers, instead return 0.0.

9 years agomake a dummy billboard if its velocity or vector are nan/inf
Campbell Barton [Tue, 4 May 2010 21:43:43 +0000 (21:43 +0000)]
make a dummy billboard if its velocity or vector are nan/inf
was causing crashes in the raytracer.

9 years agoBGE Logic UI: more actuators + almost all sensors
Dalai Felinto [Tue, 4 May 2010 21:31:46 +0000 (21:31 +0000)]
BGE Logic UI: more actuators + almost all sensors

* Matt, I'm marking some "property" rna properties that will need some speacial lookup.
Talking with Campbell we thought that it will be nice to have the lookup with autocomplete for the properties, but giving you the freedom to type whatever prop_name you want (so you can use python created properties).
That way we would still store it as a string.

Whenever the property doesn't exist (or was renamed, therefore can't be found) the property name tints in red ...
Is that possible?

* Matt: in draw_actuator_random I used a uiItemL for one of the modes. Is there another way to do that (having the label in the rna file?). I noticed draw_nodes has some cases of that as well.

* Andrea, the actuator_game property filename (in rna_actuator) is the one that needs to open the filebrowser but saving the result as relative path (or to have relative path as the default in this case)

9 years agobillboards were using un-initialized memory and avoid divide by zero in some cases.
Campbell Barton [Tue, 4 May 2010 21:10:26 +0000 (21:10 +0000)]
billboards were using un-initialized memory and avoid divide by zero in some cases.

9 years agorender hide/unhide (Ctrl+H, Ctrl+Alt+H, Ctrl+Alt+Shift+H)
Campbell Barton [Tue, 4 May 2010 15:04:28 +0000 (15:04 +0000)]
render hide/unhide (Ctrl+H, Ctrl+Alt+H, Ctrl+Alt+Shift+H)

9 years agomerging revisions 28564-28569 from render branch into trunk
Joseph Eagar [Tue, 4 May 2010 12:31:24 +0000 (12:31 +0000)]
merging revisions 28564-28569 from render branch into trunk

9 years agoBGE Logic UI: more sensors + rna fixes + actuator empty draw functions (+ camera...
Dalai Felinto [Tue, 4 May 2010 07:34:46 +0000 (07:34 +0000)]
BGE Logic UI: more sensors + rna fixes + actuator empty draw functions (+ camera actuator)

9 years agoclear warning
Campbell Barton [Tue, 4 May 2010 07:26:57 +0000 (07:26 +0000)]
clear warning

9 years agosmall adjustments for getting the default string of a property
Campbell Barton [Tue, 4 May 2010 06:08:00 +0000 (06:08 +0000)]
small adjustments for getting the default string of a property

9 years agoclear 2 warnings
Campbell Barton [Tue, 4 May 2010 05:30:17 +0000 (05:30 +0000)]
clear 2 warnings

9 years agoGreat patch by Harley Acheson fixing about 80 typos and spelling
Daniel Salazar [Tue, 4 May 2010 05:15:53 +0000 (05:15 +0000)]
Great patch by Harley Acheson fixing about 80 typos and spelling
mistakes in makesrna

9 years agoFix [#21353] Rendering h264 reports broken settings and fail.
Xavier Thomas [Tue, 4 May 2010 00:28:41 +0000 (00:28 +0000)]
Fix [#21353] Rendering h264 reports broken settings and fail.
Also silenced a warning.

9 years agoBGE Logics UI: commit to receive some feedback from Matt
Dalai Felinto [Tue, 4 May 2010 00:06:13 +0000 (00:06 +0000)]
BGE Logics UI: commit to receive some feedback from Matt

To test use debug mode > 0 (Ctrl+Alt+D)

* primarly the goal is to put all the bricks there, and then to worry about the proper layout
* sensor header added (need to be more compressed). Also checkbox will not work that well here in my opinion.
we need to see what can be used instead (icons?)
* sensors, and actuators in alphabetical order
* a lot of sensors using the rna (//XXXSENSOR in the ones not using it)

* the logic_window.c code for controller and actuator is there only to display the draw functions for controller and actuators. But the code it's a really bad copy of the sensor code, so it will be fixed later (Matt? :)

* I would love if the non-expanded mode were more compact, more like in 2.49 (the name non-editable).
but this is the kind of think we can worry in the end.
Also instead of "move up/move down" it would be nice to drag/drop the sensors/controllers/actuators

* to do: rna_actuators: to rename type to mode for the enum

9 years ago== Sequencer ==
Peter Schlaile [Mon, 3 May 2010 22:17:05 +0000 (22:17 +0000)]
== Sequencer ==

Added operator (and menu entry) to deinterlace all selected movie strips.
(does also walk into selected meta strips)

Also: small fix for multicam cutting tool (now works also within metas)

9 years agoadd missing include from recent commit
Campbell Barton [Mon, 3 May 2010 21:07:57 +0000 (21:07 +0000)]
add missing include from recent commit

9 years agomanually sync rigify with render branch
Campbell Barton [Mon, 3 May 2010 19:12:11 +0000 (19:12 +0000)]
manually sync rigify with render branch
fixes [#22231] Rigify Script Error When Generate From Human(Meta-Rig)

9 years agoDrag & drop from OS: set to accept any drop operation by default for now
Damien Plisson [Mon, 3 May 2010 17:02:49 +0000 (17:02 +0000)]
Drag & drop from OS: set to accept any drop operation by default for now

9 years agomerge multires changes into trunk
Joseph Eagar [Mon, 3 May 2010 16:06:36 +0000 (16:06 +0000)]
merge multires changes into trunk

9 years agomisc uninteresting stuff (killing time at airport commit)
Campbell Barton [Mon, 3 May 2010 16:00:42 +0000 (16:00 +0000)]
misc uninteresting stuff (killing time at airport commit)
- pep8 updates
- RNA_TwoDFilterActuator --> RNA_Filter2DActuator
- minor changes to conolse namespace init.

9 years agohave timeoffset use (int)floor(timeoffset+0.5f) when converting to an int to avoid...
Campbell Barton [Mon, 3 May 2010 15:56:44 +0000 (15:56 +0000)]
have timeoffset use (int)floor(timeoffset+0.5f) when converting to an int to avoid problems with nagative values.

9 years agosphinx doc generation
Campbell Barton [Mon, 3 May 2010 15:52:15 +0000 (15:52 +0000)]
sphinx doc generation
- include default values as well as min/max.
- partial rebuilds, so we dont have to build all docs each time, only the changed files.

9 years agomask modifier properly works in weightpaint and edit modes now. note that modifiers...
Joseph Eagar [Mon, 3 May 2010 10:09:26 +0000 (10:09 +0000)]
mask modifier properly works in weightpaint and edit modes now.  note that modifiers should not have to provide a applyModifierEM function, there's really no reason to not pull the result from applyModifier if applyModifierEM doesn't exist, it's not like we don't have a dozen *EM functions that do just that, anyway.  fixes 22192.  {merged 28543 into trunk}

9 years agoFix [#20999] Node Header icons drawn wrong
Matt Ebb [Mon, 3 May 2010 08:43:00 +0000 (08:43 +0000)]
Fix [#20999] Node Header icons drawn wrong

Would like to re-do this stuff properly at some stage...