Age | Commit message (Collapse) | Author |
|
Synchronize code in on_visible_update with depsgraph building.
Need to update all cameras, since they might be hooked up to marker.
|
|
|
|
Previously quads always split along first-third vertices.
This is still the default, to avoid flickering with animated deformation
however concave quads that would create two opposing triangles now use
second-fourth split.
Reported as T53999 although this issue has been known limitation
for a long time.
|
|
This is also how box selection and mouse selection is working.
Requested by Hjalti, reviewed by Joshua. Thanks!
|
|
Wasn't setting transform context
|
|
|
|
Sync changes from 2.8
|
|
- Read-only access can often use EvaluationContext.object_mode
- Write access to go to WorkSpace.object_mode.
- Some TODO's remain (marked as "TODO/OBMODE")
- Add-ons will need updating
(context.active_object.mode -> context.workspace.object_mode)
- There will be small/medium issues that still need resolving
this does work on a basic level though.
See D3037
|
|
|
|
D3025 by @januz
|
|
making it semi-useless
Partially revert efe1af3d11a930b539718cc566049f07316427ff
The offending commit over-zealously removed the datablocks viewer case
as well, when only the condition needed to be modified.
|
|
Previous commit was af425f3f7a08c09f7fbc7076b364fac75163b296
|
|
|
|
Sorry about the noise...
|
|
Conflicts:
source/blender/windowmanager/intern/wm_files_link.c
|
|
|
|
Conflicts:
source/blender/windowmanager/intern/wm_files_link.c
|
|
|
|
This was caused by dupli's ObjectEngineData that were not free.
This allocates the data using the instance data manager (no alloc/free between frames). Though the data should be treated as not persistent in this case.
|
|
|
|
Ubos needed to be free correctly.
Also the matcap colors are statics and does not need to be uploaded each drawcall.
|
|
|
|
Made shape keys to work for meshes. Also added missing code for curves.
Curves and lattices will not have shape keys visible, since modifiers support
is still to be done for them.
|
|
Only crash is fixed, still need to do something about missing recalc
or something like that.
|
|
This brings separate initialization for libcuda and libnvrtc, which
fixes Cycles nvrtc compilation not working on build machines without
CUDA hardware available.
Differential Revision: https://developer.blender.org/D3045
|
|
It is possible to have non-NULL scene in graph which was never built yet,
this happens when ID is tagged for update for non-built graph.
Was causing crash opening deg_anim_pose_bones.
Reported by Mai in IRC, thanks!
|
|
Fixes empty not moving int deg_anim_material_driving_empty.
Reported by Mai in IRC, thanks!
|
|
This made vertex/weight/sculpt crash.
Add BKE_workspace_update_object_mode which sets the object mode from the
workspace.
We may want to re-visit exactly when this is set, for now call within
wm_event_do_refresh_wm_and_depsgraph.
|
|
reset
This fixes an issue where old cache data was used after an object has been moved.
Particles were coming from very wrong positions. Reproduction case is to move an
object while animation is running and then let the animation loop back and
play again.
Differential Revision: https://developer.blender.org/D3044
|
|
|
|
|
|
|
|
Avoid access from bpy when it's already declared.
|
|
Really strange bug. Maybe gl_FragDepth is broken on this implementation.
|
|
This is not needed anymore with linux 4.15 + Mesa 17.3.3.
|
|
|
|
|
|
Suggested by Pablo Vazquez (venomgfx).
The idea here is that it should be easy to work in the outliner by picking a
bunch of objects and adding them to a new collection.
Where is the new collection? In the same level as the "outliner active" object.
Note, since the outliner has no pure concept of an active object, I'm using
the highlight tag for this. Hopefully it works fine.
It should work in "Collections", "View Layer", and "Groups".
Only when collections are not filtered out.
|
|
Outliner groups mode support no filtering.
|
|
Better make it clear it is different than OUTLINER_OT_collection_objects_remove.
|
|
Suggested by Pablo Vazquez (venomgfx).
|
|
To reproduce the crash: delete the active object of the scene.
This bug was introduced on e9c40b7339be9.
|
|
The reason it appeared working was due to left-over debug code to force
time dependency.
Real fix seems to include force tagging objects used by duplication,
similar to what we do for some other modifiers already.
|
|
When destination IDProp did not exist, new code (related ot static
overrides) would not do nothing...
IDProps and RNA are really not easy to tame, thinking more and more we
should totally bypass RNA and directly use (add) IDP code to handle
comparison and diff creation/application of IDProps.
But for now, this bandage should to the trick.
|
|
|
|
|
|
|
|
|
|
Add a enum headers to DNA, to be included in other headers
so function signatures can use enums for better type safety.
Add DNA_*_enums.h matching DNA_*.types.h as needed.
|
|
Seriously guys... *Full* build when you change APIs!
|